aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2007-04-16 09:13:43 +0000
committerTravis Howell2007-04-16 09:13:43 +0000
commit894959444d55b3f25af3c661e1e8678222f79377 (patch)
treeea15bacdabf4052523e54e934e580d380e0d7329 /engines/scumm
parent3e7ead9a8103715e07665d65c47521ab2fdb1bae (diff)
downloadscummvm-rg350-894959444d55b3f25af3c661e1e8678222f79377.tar.gz
scummvm-rg350-894959444d55b3f25af3c661e1e8678222f79377.tar.bz2
scummvm-rg350-894959444d55b3f25af3c661e1e8678222f79377.zip
Fix the level selection screen in the KIXX XL release of Monkey Island 2 (Amiga disk).
svn-id: r26525
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/script_v5.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index 2c562f0470..fca3228696 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -870,6 +870,11 @@ enum StringIds {
};
void ScummEngine_v5::o5_saveLoadVars() {
+ // The KIXX XL release of Monkey Island 2 (Amiga disk) used this opcode
+ // as dummy, in order to remove copy protection and keep level selection.
+ if (_game.version == 5)
+ return;
+
if (fetchScriptByte() == 1)
saveVars();
else