aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-08-22 00:17:29 +0200
committerStrangerke2013-08-22 00:17:29 +0200
commit2b03c63631014e547e2eb65a0db0342937249de3 (patch)
tree6506d88d7f88a9cb28050f95076509d3694d311a
parent197d2f1c0891ba7ad1cf88216b37e747b04e7827 (diff)
downloadscummvm-rg350-2b03c63631014e547e2eb65a0db0342937249de3.tar.gz
scummvm-rg350-2b03c63631014e547e2eb65a0db0342937249de3.tar.bz2
scummvm-rg350-2b03c63631014e547e2eb65a0db0342937249de3.zip
MORTEVIELLE: Better fix of CID 1063212. Thanks wjp for pointing out.
-rw-r--r--engines/mortevielle/actions.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/mortevielle/actions.cpp b/engines/mortevielle/actions.cpp
index a475743f7f..c0d4963565 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