From 48d6ca6a3bf81984accf7426993d432a90df2097 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 15 Aug 2017 21:18:07 -0400 Subject: TITANIC: Workaround longer Pellerator times after loading savegames --- engines/titanic/game/transport/pellerator.cpp | 7 +++++-- 1 file 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") { -- cgit v1.2.3