aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorTravis Howell2008-03-09 09:28:10 +0000
committerTravis Howell2008-03-09 09:28:10 +0000
commit353e5a78967e2ab1afdeb3ce9b482e0b455b3880 (patch)
tree1bcd9015caaac00799f48b2ee4b1c39160fc6212 /engines/scumm/he
parent179ff6bcc271508fc165e92e156729bc10bda981 (diff)
downloadscummvm-rg350-353e5a78967e2ab1afdeb3ce9b482e0b455b3880.tar.gz
scummvm-rg350-353e5a78967e2ab1afdeb3ce9b482e0b455b3880.tar.bz2
scummvm-rg350-353e5a78967e2ab1afdeb3ce9b482e0b455b3880.zip
Add hack to skip the faulty credits script in Russian HE99 version of Freddi Fish 3.
svn-id: r31080
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/script_v72he.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 8cc87d74b6..3cc48f84cc 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -792,6 +792,14 @@ void ScummEngine_v72he::o72_startScript() {
getStackList(args, ARRAYSIZE(args));
script = pop();
flags = fetchScriptByte();
+
+ // HACK: The credits script in Russian HE99 version of Freddi Fish 3
+ // uses null strings, causing various errors, so skip it.
+ if (_game.id == GID_FREDDI3 && _game.heversion == 99 && _language == Common::RU_RUS &&
+ _currentRoom == 40 && script == 2057) {
+ return;
+ }
+
runScript(script, (flags == 199 || flags == 200), (flags == 195 || flags == 200), args);
}