diff options
author | Filippos Karapetis | 2015-01-19 05:09:03 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-01-19 05:09:03 +0200 |
commit | 68b7839d994d536c7e65b3bfe5045ba164bbedd5 (patch) | |
tree | a7fb07342dca4998297247ffa4ee47f3bcc6f1b9 | |
parent | 3a31e1de96a860b9f971cef939cb8a4aed8bcd5d (diff) | |
download | scummvm-rg350-68b7839d994d536c7e65b3bfe5045ba164bbedd5.tar.gz scummvm-rg350-68b7839d994d536c7e65b3bfe5045ba164bbedd5.tar.bz2 scummvm-rg350-68b7839d994d536c7e65b3bfe5045ba164bbedd5.zip |
ZVISION: Fix bug #6768 (unable to save in the prison area)
The save buffer preparation code had a bug, which triggered in the
jail area because its room is 'j'
-rw-r--r-- | engines/zvision/scripting/script_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/scripting/script_manager.cpp b/engines/zvision/scripting/script_manager.cpp index b45f17a6f1..df74fd69dc 100644 --- a/engines/zvision/scripting/script_manager.cpp +++ b/engines/zvision/scripting/script_manager.cpp @@ -607,7 +607,7 @@ void ScriptManager::ChangeLocationReal() { } if (_nextLocation.world == 'g' && _nextLocation.room == 'j') { - if (_nextLocation.node == 's' && _nextLocation.view == 'e' && _currentLocation.world != 'g' && _currentLocation.room != 'j') { + if (_nextLocation.node == 's' && _nextLocation.view == 'e' && _currentLocation.world != 'g') { _engine->getSaveManager()->prepareSaveBuffer(); } } else { |