[Scummvm-cvs-logs] scummvm master -> 2b03c63631014e547e2eb65a0db0342937249de3

Strangerke Strangerke at scummvm.org
Thu Aug 22 00:18:49 CEST 2013


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:
2b03c63631 MORTEVIELLE: Better fix of CID 1063212. Thanks wjp for pointing out.


Commit: 2b03c63631014e547e2eb65a0db0342937249de3
    https://github.com/scummvm/scummvm/commit/2b03c63631014e547e2eb65a0db0342937249de3
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-08-21T15:17:29-07:00

Commit Message:
MORTEVIELLE: Better fix of CID 1063212. Thanks wjp for pointing out.

Changed paths:
    engines/mortevielle/actions.cpp



diff --git a/engines/mortevielle/actions.cpp b/engines/mortevielle/actions.cpp
index a475743..c0d4963 100644
--- a/engines/mortevielle/actions.cpp
+++ b/engines/mortevielle/actions.cpp
@@ -1013,12 +1013,7 @@ void MortevielleEngine::fctSelfPut() {
 						break;
 				}
 
-				if (i > 6) {
-					warning("Unexpected action: Too many open objects");
-					return;
-				}
-
-				if (_num == _openObjects[i]) {
+				if (i <= 6) {
 					_curSearchObjId = objId;
 					_crep = 999;
 				} else






More information about the Scummvm-git-logs mailing list