From ee89c3000bbc7cc762edcc9abd9412703e464fbf Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 16 Apr 2008 12:24:09 +0000 Subject: Minor cleanup. svn-id: r31514 --- engines/agos/script_e2.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'engines/agos/script_e2.cpp') diff --git a/engines/agos/script_e2.cpp b/engines/agos/script_e2.cpp index 7713a68141..da9afc5a7d 100644 --- a/engines/agos/script_e2.cpp +++ b/engines/agos/script_e2.cpp @@ -145,7 +145,7 @@ void AGOSEngine_Elvira2::setupOpcodes() { OPCODE(o_comment), /* 88 */ OPCODE(o_invalid), - OPCODE(oe2_loadGame), + OPCODE(oe1_loadGame), OPCODE(o_getParent), OPCODE(o_getNext), /* 92 */ @@ -322,17 +322,6 @@ void AGOSEngine_Elvira2::oe2_isCalled() { setScriptCondition(i->itemName == stringId); } -void AGOSEngine_Elvira2::oe2_loadGame() { - // 89: load game - uint16 stringId = getNextStringID(); - - if (!scumm_stricmp(getFileName(GAME_RESTFILE), (const char *)getStringPtrByID(stringId))) { - loadGame(getFileName(GAME_RESTFILE), true); - } else { - loadGame((const char *)getStringPtrByID(stringId)); - } -} - void AGOSEngine_Elvira2::oe2_menu() { // 105: set agos menu _agosMenu = getVarOrByte(); -- cgit v1.2.3