aboutsummaryrefslogtreecommitdiff
path: root/simon/items.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-01-11 15:38:37 +0000
committerTravis Howell2003-01-11 15:38:37 +0000
commit8b9e8cb8123222bdc7a94e18f891e892e658eb72 (patch)
treef6809afbd18186d9c0bebc5a095e75ea4c9f387f /simon/items.cpp
parent905d6b600865e882c399e8630bdd6a99c1824d15 (diff)
downloadscummvm-rg350-8b9e8cb8123222bdc7a94e18f891e892e658eb72.tar.gz
scummvm-rg350-8b9e8cb8123222bdc7a94e18f891e892e658eb72.tar.bz2
scummvm-rg350-8b9e8cb8123222bdc7a94e18f891e892e658eb72.zip
More simon 2 targets (amiga/mac ports)
svn-id: r6396
Diffstat (limited to 'simon/items.cpp')
-rw-r--r--simon/items.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/items.cpp b/simon/items.cpp
index fcdd416c57..134d5efc95 100644
--- a/simon/items.cpp
+++ b/simon/items.cpp
@@ -996,7 +996,7 @@ int SimonState::runScript()
ThreeValues *tv = getThreeValues(b);
talk_with_text(b, c, s, tv->a, tv->b, tv->c);
- } else if (_game == GAME_SIMON2TALKIE || _game == GAME_SIMON2WIN) {
+ } else if (_game == GAME_SIMON2TALKIE || _game & GAME_SIMON2WIN) {
const char *s = (const char *)getStringPtrByID(_stringid_array_3[a]);
ThreeValues *tv = getThreeValues(b);
uint d = _array_4[a];
@@ -1258,7 +1258,7 @@ void SimonState::o_177()
talk_with_text(a, b, s, tv->a, tv->b, tv->c);
}
- } else if (_game == GAME_SIMON2TALKIE || _game == GAME_SIMON2WIN) {
+ } else if (_game == GAME_SIMON2TALKIE || _game & GAME_SIMON2WIN) {
const char *s = NULL;
ThreeValues *tv = NULL;
char buf[256];