diff options
author | Jonathan Gray | 2003-08-31 15:39:27 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-08-31 15:39:27 +0000 |
commit | b5ece53748f8aa5e0a29d1ebbec68c80bf36d621 (patch) | |
tree | 84d94a88cc15850ef5a2d6bbf7609c9816ffa478 /scumm/script_v2.cpp | |
parent | f77faa2313deed248cf1dd9fcbeb842cb9a52b59 (diff) | |
download | scummvm-rg350-b5ece53748f8aa5e0a29d1ebbec68c80bf36d621.tar.gz scummvm-rg350-b5ece53748f8aa5e0a29d1ebbec68c80bf36d621.tar.bz2 scummvm-rg350-b5ece53748f8aa5e0a29d1ebbec68c80bf36d621.zip |
cleanup and make script_v2 use o5_saveLoadGame
svn-id: r9941
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index d6bf6f3a80..ed7fa33a5b 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -75,7 +75,7 @@ void Scumm_v2::setupOpcodes() { /* 20 */ OPCODE(o5_stopMusic), OPCODE(o2_putActor), - OPCODE(o2_saveLoadGame), + OPCODE(o5_saveLoadGame), OPCODE(o2_getActorY), /* 24 */ OPCODE(o2_loadRoomWithEgo), @@ -235,7 +235,7 @@ void Scumm_v2::setupOpcodes() { /* A0 */ OPCODE(o5_stopObjectCode), OPCODE(o2_putActor), - OPCODE(o2_saveLoadGame), + OPCODE(o5_saveLoadGame), OPCODE(o2_getActorY), /* A4 */ OPCODE(o2_loadRoomWithEgo), @@ -1159,14 +1159,6 @@ void Scumm_v2::o2_findObject() { setResult(findObject(x, y)); } -void Scumm_v2::o2_saveLoadGame() { - getResultPos(); - byte a = getVarOrDirectByte(0x80); - - warning("TODO: o2_saveLoadGame(%d)", a); - setResult(0); -} - void Scumm_v2::o2_getActorX() { int a; getResultPos(); |