From 894959444d55b3f25af3c661e1e8678222f79377 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 16 Apr 2007 09:13:43 +0000 Subject: Fix the level selection screen in the KIXX XL release of Monkey Island 2 (Amiga disk). svn-id: r26525 --- engines/scumm/script_v5.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines') 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 -- cgit v1.2.3