Fix the level selection screen in the KIXX XL release of Monkey Island 2 (Amiga disk).

svn-id: r26525
This commit is contained in:
Travis Howell 2007-04-16 09:13:43 +00:00
parent 3e7ead9a81
commit 894959444d

View File

@ -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