aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-15 21:18:07 -0400
committerPaul Gilbert2017-08-15 21:18:07 -0400
commit48d6ca6a3bf81984accf7426993d432a90df2097 (patch)
tree271aa7e2fb17a3d668761c62d61ec5fe541e6b63
parentede1cbc4cadbdb56d28e0c67d0eb69c81a66971f (diff)
downloadscummvm-rg350-48d6ca6a3bf81984accf7426993d432a90df2097.tar.gz
scummvm-rg350-48d6ca6a3bf81984accf7426993d432a90df2097.tar.bz2
scummvm-rg350-48d6ca6a3bf81984accf7426993d432a90df2097.zip
TITANIC: Workaround longer Pellerator times after loading savegames
-rw-r--r--engines/titanic/game/transport/pellerator.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/titanic/game/transport/pellerator.cpp b/engines/titanic/game/transport/pellerator.cpp
index 7771314d50..8a94e82803 100644
--- a/engines/titanic/game/transport/pellerator.cpp
+++ b/engines/titanic/game/transport/pellerator.cpp
@@ -297,8 +297,11 @@ bool CPellerator::EnterRoomMsg(CEnterRoomMsg *msg) {
int oldVal = _destination;
if (name.empty()) {
- _destination = 4;
- oldVal = 4;
+ // WORKAROUND: Called when loading a savegame, the original reset the
+ // destination to '4' resulting in potentially longer travel times.
+ // Since the destination is saved as part of savegames anyway, I'm
+ // changing this to leave it unchanged
+ oldVal = _destination;
} else if (name == "PromenadeDeck") {
_destination = 0;
} else if (name == "MusicRoomLobby") {