[Scummvm-cvs-logs] scummvm master -> 68b7839d994d536c7e65b3bfe5045ba164bbedd5

bluegr bluegr at gmail.com
Mon Jan 19 04:10:03 CET 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
68b7839d99 ZVISION: Fix bug #6768 (unable to save in the prison area)


Commit: 68b7839d994d536c7e65b3bfe5045ba164bbedd5
    https://github.com/scummvm/scummvm/commit/68b7839d994d536c7e65b3bfe5045ba164bbedd5
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2015-01-19T05:09:03+02:00

Commit Message:
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'

Changed paths:
    engines/zvision/scripting/script_manager.cpp



diff --git a/engines/zvision/scripting/script_manager.cpp b/engines/zvision/scripting/script_manager.cpp
index b45f17a..df74fd6 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 {






More information about the Scummvm-git-logs mailing list