aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2010-09-10 23:40:08 +0000
committerArnaud Boutonné2010-09-10 23:40:08 +0000
commita002c6f2fd8041876f646784b79255295edef0ef (patch)
treee6efdfa08f9526167a636f8720f488af569ce2d4 /engines
parent21b96bd374b31df0e9c7ad813746917915cd42b3 (diff)
downloadscummvm-rg350-a002c6f2fd8041876f646784b79255295edef0ef.tar.gz
scummvm-rg350-a002c6f2fd8041876f646784b79255295edef0ef.tar.bz2
scummvm-rg350-a002c6f2fd8041876f646784b79255295edef0ef.zip
GOB: Fix 2nd Hebrew protection screen in Fascination
Add a workaround to avoid a crash when failing the protection check This only applies for the 2nd protection screen in the Hebrew version which is used when the intro is not skipped svn-id: r52672
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/inter_fascin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/inter_fascin.cpp b/engines/gob/inter_fascin.cpp
index d2b97eea43..895eb85440 100644
--- a/engines/gob/inter_fascin.cpp
+++ b/engines/gob/inter_fascin.cpp
@@ -137,7 +137,8 @@ bool Inter_Fascination::oFascin_repeatUntil(OpFuncParams &params) {
// This results in a crash in Scummvm. This workaround avoids that crash.
if (_vm->getPlatform() == Common::kPlatformPC) {
if ((!scumm_stricmp(_vm->_game->_curTotFile, "INTRO1.TOT") && (blockPos == 3533)) ||
- (!scumm_stricmp(_vm->_game->_curTotFile, "INTRO2.TOT") && (blockPos == 3519)))
+ (!scumm_stricmp(_vm->_game->_curTotFile, "INTRO2.TOT") && (blockPos == 3519)) ||
+ (!scumm_stricmp(_vm->_game->_curTotFile, "INTRO2.TOT") && (blockPos == 3265))) //PC Hebrew
_terminate = 1;
}
} while (!flag && !_break && !_terminate && !_vm->shouldQuit());