Last commit should have been made simon1 only

svn-id: r8325
This commit is contained in:
Travis Howell 2003-06-05 13:21:03 +00:00
parent 33dceea477
commit ceb1a34b05
2 changed files with 14 additions and 6 deletions

View file

@ -995,11 +995,18 @@ int SimonEngine::runScript() {
if (_game & GF_TALKIE)
d = _array_4[a];
if (_game & GF_SIMON2) {
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);
} else {
if (d != 0)
talk_with_speech(d, b);
if (s != NULL && (d == 0 || _subtitles))
if (s != NULL && _subtitles)
talk_with_text(b, c, s, tv->a, tv->b, tv->c);
}
}
break;
case 180:{ /* force unlock */
@ -1286,6 +1293,7 @@ void SimonEngine::o_inventory_descriptions() {
}
}
if (!_subtitles)
talk_with_speech(var200, a);
}

View file

@ -2054,7 +2054,7 @@ void SimonEngine::o_print_str() {
case GAME_SIMON2TALKIE:
case GAME_SIMON2WIN:
case GAME_SIMON2MAC:
if (speech_id != 0 && num_1 == 1)
if (speech_id != 0 && num_1 == 1 && !_subtitles)
talk_with_speech(speech_id, num_1);
if (speech_id != 0 && !_subtitles)