aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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