diff options
author | Travis Howell | 2003-03-07 12:29:33 +0000 |
---|---|---|
committer | Travis Howell | 2003-03-07 12:29:33 +0000 |
commit | 6f65f6f166854fb9c6bd2983072b6824fb74d9a5 (patch) | |
tree | 4030ba36709c59477b169d523bb4aa15256d4847 /simon/items.cpp | |
parent | 39510ce4cc4f0cefe79da06fedee2b1f36c752f9 (diff) | |
download | scummvm-rg350-6f65f6f166854fb9c6bd2983072b6824fb74d9a5.tar.gz scummvm-rg350-6f65f6f166854fb9c6bd2983072b6824fb74d9a5.tar.bz2 scummvm-rg350-6f65f6f166854fb9c6bd2983072b6824fb74d9a5.zip |
Rename variable
svn-id: r6738
Diffstat (limited to 'simon/items.cpp')
-rw-r--r-- | simon/items.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index bf7c00b0db..2d84ce730e 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -992,7 +992,7 @@ int SimonState::runScript() { if (_game & GF_TALKIE) d = _array_4[a]; - if (d != 0 && !_vk_t_toggle) { + if (d != 0 && !_subtitles) { talk_with_speech(d, b); } else if (s != NULL) { talk_with_text(b, c, s, tv->a, tv->b, tv->c); @@ -1231,11 +1231,11 @@ void SimonState::o_177() { if (_game == GAME_SIMON1TALKIE || _game == GAME_SIMON1WIN) { if (child != NULL && child->avail_props & 0x200) { uint offs = getOffsetOfChild2Param(child, 0x200); - if (!_vk_t_toggle) + if (!_subtitles) talk_with_speech(child->array[offs], a); } else if (child != NULL && child->avail_props & 0x100) { uint offs = getOffsetOfChild2Param(child, 0x100); - if (!_vk_t_toggle) + if (!_subtitles) talk_with_speech(child->array[offs] + 3550, a); } } else if (_game == GAME_SIMON2TALKIE || _game == GAME_SIMON2WIN) { @@ -1286,12 +1286,12 @@ void SimonState::o_177() { } } - if (!_vk_t_toggle) + if (!_subtitles) talk_with_speech(var200, a); } } - if (child != NULL && (child->avail_props & 1) && _vk_t_toggle) { + if (child != NULL && (child->avail_props & 1) && _subtitles) { if (child->avail_props & 0x100) { sprintf(buf, "%d%s", child->array[getOffsetOfChild2Param(child, 0x100)], s); s = buf; |