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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue