aboutsummaryrefslogtreecommitdiff
path: root/simon/items.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-01-14 05:25:31 +0000
committerTravis Howell2003-01-14 05:25:31 +0000
commitd6e9c1f3a074c0e8f76ba4107bfb2ddd1389f489 (patch)
tree702b02f292e585e43de6f6ed2eeb3cfbf57f43cf /simon/items.cpp
parent1814063dc7502cee25d8bddbb76f819b5cd115d5 (diff)
downloadscummvm-rg350-d6e9c1f3a074c0e8f76ba4107bfb2ddd1389f489.tar.gz
scummvm-rg350-d6e9c1f3a074c0e8f76ba4107bfb2ddd1389f489.tar.bz2
scummvm-rg350-d6e9c1f3a074c0e8f76ba4107bfb2ddd1389f489.zip
Add hopefully the final simon target, not support at all yet.
svn-id: r6451
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 134d5efc95..224d1d4193 100644
--- a/simon/items.cpp
+++ b/simon/items.cpp
@@ -991,7 +991,7 @@ int SimonState::runScript()
uint d = _array_4[a];
if (d != 0)
talk_with_speech(d, b);
- } else if (_game == GAME_SIMON1DEMO || _game == GAME_SIMON1DOS || _game == GAME_SIMON2DOS) {
+ } else if (!(_game & GAME_TALKIE)) {
const char *s = (const char *)getStringPtrByID(_stringid_array_3[a]);
ThreeValues *tv = getThreeValues(b);
@@ -1244,7 +1244,7 @@ void SimonState::o_177()
offs = getOffsetOfChild2Param(child, 0x100);
talk_with_speech(child->array[offs] + 3550, a);
}
- } else if (_game == GAME_SIMON1DEMO || _game == GAME_SIMON1DOS || _game == GAME_SIMON2DOS) {
+ } else if (!(_game & GAME_TALKIE)) {
if (child != NULL && child->avail_props & 1) {
const char *s = (const char *)getStringPtrByID(child->array[0]);
char buf[256];