aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2002-10-22 06:30:45 +0000
committerTravis Howell2002-10-22 06:30:45 +0000
commitb5f25dbf2df8183fa1dcf7e2ca8077a44676ac4f (patch)
treeac9720d3e5fbbfe38ba7952df7c1fd2612ad0ede
parentd3a954861db10097b4d942e83e4bf2ac201ad571 (diff)
downloadscummvm-rg350-b5f25dbf2df8183fa1dcf7e2ca8077a44676ac4f.tar.gz
scummvm-rg350-b5f25dbf2df8183fa1dcf7e2ca8077a44676ac4f.tar.bz2
scummvm-rg350-b5f25dbf2df8183fa1dcf7e2ca8077a44676ac4f.zip
Minor fixes for simon2dos target
svn-id: r5227
-rw-r--r--simon/res.cpp2
-rw-r--r--simon/verb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/simon/res.cpp b/simon/res.cpp
index 6cf2d219c4..a521a33127 100644
--- a/simon/res.cpp
+++ b/simon/res.cpp
@@ -257,7 +257,7 @@ byte *SimonState::readSingleOpcode(File *in, byte *ptr)
table = opcode_arg_table_simon1win;
break;
case GAME_SIMON2DOS:
- table = opcode_arg_table_simon2win;
+ table = opcode_arg_table_simon2dos;
printf("right opcode table\n");
break;
case GAME_SIMON2WIN:
diff --git a/simon/verb.cpp b/simon/verb.cpp
index a81627bff2..01dff66359 100644
--- a/simon/verb.cpp
+++ b/simon/verb.cpp
@@ -112,7 +112,7 @@ void SimonState::hitareaChangedHelper()
{
FillOrCopyStruct *fcs;
- if ((_game == GAME_SIMON2WIN) || (_game == GAME_SIMON2WIN)) {
+ if ((_game == GAME_SIMON2WIN) || (_game == GAME_SIMON2DOS)) {
if (_bit_array[4] & 0x8000)
return;
}