mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 04:34:50 +00:00
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'
This commit is contained in:
parent
3a31e1de96
commit
68b7839d99
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user