[Scummvm-tracker] [ScummVM] #10279: TITANIC: Ambient music does not start playback after leaving Titania's room
Paul Gilbert
trac at scummvm.org
Fri Oct 13 19:41:41 CEST 2017
#10279: TITANIC: Ambient music does not start playback after leaving Titania's room
-------------------------------+-----------------------------
Reporter: csnover | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Titanic
Resolution: | Keywords:
Game: Starship Titanic |
-------------------------------+-----------------------------
Comment (by dreammaster):
Now this is an interesting case. First of all, it seems like I'd
previously misunderstood how the auto music players operated a bit. They
currently have an "_isRepeated" field, which should probably be renamed to
"_isEnabled". The game's "project" is set up with an auto music player for
each overall room where ambient music is played. And messages are
generated when the player enters or leaves the room to turn on the new
room's auto music player, whilst turning off any player in the room just
left. So only one auto music player should be enabled at a time, and it
should only be the one in the currently actively room.
In the case of your savegame, however, the EmbLobby room auto music player
is actually turned on, when it obviously shouldn't be. So when the
savegame is loaded, it gets reactivated, and the Embarkation Lobby music
starts playing. In the little time I had before going to work, I tried
entering and leaving the Embarkation Lobby as normal, and it's auto music
player was correctly disabled. I don't suppose you did anything non-
standard for the game before saving, such as using the cheat room?
If not, I guess I can at least code in a workaround.. maybe pass the now
active room as part of the LoadSuccessMsg call, and have the auto music
player automatically flag itself as off if it's not in the active room
--
Ticket URL: <https://bugs.scummvm.org/ticket/10279#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list