diff options
author | Paul Gilbert | 2017-02-19 22:57:31 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-02-19 22:57:31 -0500 |
commit | 2d80b931b3f004265fd08c3182f94a4c5824e063 (patch) | |
tree | 72b13f5ebe790b819820b06ca3b3fc311c4aba2d /engines/titanic/core | |
parent | c1bc64d3912f60d6c5812f1f82d196eb78d5b4f2 (diff) | |
download | scummvm-rg350-2d80b931b3f004265fd08c3182f94a4c5824e063.tar.gz scummvm-rg350-2d80b931b3f004265fd08c3182f94a4c5824e063.tar.bz2 scummvm-rg350-2d80b931b3f004265fd08c3182f94a4c5824e063.zip |
WORKAROUND: Stop resetting bomb code wheels when loading savegames
The original kept resetting the bomb's code wheels whenever the view
was entered, which meant reloading a savegame, you lost any progress
you'd made. Presumably this was done as a quick and dirty hack in
case anyone was stupid enough to rearm the bomb after fixing it the
first time. I've added new code that now only resets the wheels when
the bomb is initially armed, and you can now save in the bomb
closeup, and it will remember all your selections
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/saveable_object.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/core/saveable_object.cpp b/engines/titanic/core/saveable_object.cpp index 8bb8a92b7f..0257f6a087 100644 --- a/engines/titanic/core/saveable_object.cpp +++ b/engines/titanic/core/saveable_object.cpp @@ -955,6 +955,7 @@ DEFFN(CUseWithCharMsg); DEFFN(CUseWithOtherMsg); DEFFN(CVirtualKeyCharMsg); DEFFN(CVisibleMsg); +DEFFN(CCheckCodeWheelsMsg); DEFFN(CEnterBombRoom); DEFFN(CEnterBridge); @@ -1538,6 +1539,7 @@ void CSaveableObject::initClassList() { ADDFN(CUseWithOtherMsg, CMessage); ADDFN(CVirtualKeyCharMsg, CMessage); ADDFN(CVisibleMsg, CMessage); + ADDFN(CCheckCodeWheelsMsg, CMessage); ADDFN(CMovePlayerTo, CGameObject); ADDFN(CMovePlayerToFrom, CGameObject); |