diff options
| author | Paul Gilbert | 2017-07-02 22:02:24 -0400 |
|---|---|---|
| committer | Paul Gilbert | 2017-07-02 22:02:24 -0400 |
| commit | fbb4cb9b319e2fecc483fe579f2a38c86aeb65f7 (patch) | |
| tree | f31ab72ff82c2de33c3378d714e66952d775e633 /engines/titanic/npcs | |
| parent | d5ebd9ae9249be09c0afb948394019bb5fc29796 (diff) | |
| download | scummvm-rg350-fbb4cb9b319e2fecc483fe579f2a38c86aeb65f7.tar.gz scummvm-rg350-fbb4cb9b319e2fecc483fe579f2a38c86aeb65f7.tar.bz2 scummvm-rg350-fbb4cb9b319e2fecc483fe579f2a38c86aeb65f7.zip | |
TITANIC: Don't allow saving during the Doorbot prologue
This works around a bug in the original where if you saved immediately
after getting the PET, the savegame would put in in an invalid state
Diffstat (limited to 'engines/titanic/npcs')
| -rw-r--r-- | engines/titanic/npcs/doorbot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/npcs/doorbot.cpp b/engines/titanic/npcs/doorbot.cpp index a1534fa673..58e11b05ef 100644 --- a/engines/titanic/npcs/doorbot.cpp +++ b/engines/titanic/npcs/doorbot.cpp @@ -95,6 +95,7 @@ bool CDoorbot::MovieEndMsg(CMovieEndMsg *msg) { case 6: if (clipExistsByEnd("Cloak On", msg->_endFrame)) { petShow(); + petDecAreaLocks(); stateSetSoundMakerAllowed(true); changeView("ServiceElevator.Node 1.S"); changeView("ServiceElevator.Node 1.N"); @@ -444,6 +445,7 @@ bool CDoorbot::TrueTalkNotifySpeechEndedMsg(CTrueTalkNotifySpeechEndedMsg *msg) case 10560: petShow(); petSetArea(PET_CONVERSATION); + petIncAreaLocks(); stopAnimTimer(_timerId); _timerId = addTimer(1, 1000, 0); break; |
