diff options
author | Travis Howell | 2003-12-20 06:00:55 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-20 06:00:55 +0000 |
commit | fb89d1a32e6e1b0ce084b12e483634ec8302b600 (patch) | |
tree | 9dba9e630acd7ab270fa3027876ea41dbac197e0 /simon/items.cpp | |
parent | 19fe4c947a7ac035eb3b8f670090f97b1821db5b (diff) | |
download | scummvm-rg350-fb89d1a32e6e1b0ce084b12e483634ec8302b600.tar.gz scummvm-rg350-fb89d1a32e6e1b0ce084b12e483634ec8302b600.tar.bz2 scummvm-rg350-fb89d1a32e6e1b0ce084b12e483634ec8302b600.zip |
Revert bug work around, still can't detect conversation will enough yet.
svn-id: r11770
Diffstat (limited to 'simon/items.cpp')
-rw-r--r-- | simon/items.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index cc8900269f..486411e7f4 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -378,9 +378,7 @@ int SimonEngine::runScript() { if (_game & GF_TALKIE) { uint speech_id = getNextWord(); if (var < 20) { - _stringid_array_3_backup[var] = _stringid_array_3[var]; _stringid_array_3[var] = string_id; - _speechid_array_4_backup[var] = _speechid_array_4[var]; _speechid_array_4[var] = speech_id; } } else { @@ -936,8 +934,6 @@ int SimonEngine::runScript() { _show_preposition = true; o_setup_cond_c(); _show_preposition = false; - if (!(_game & GF_SIMON2) && (_game & GF_TALKIE)) - _reset_arrays = true; } break; @@ -1010,18 +1006,6 @@ int SimonEngine::runScript() { talk_with_speech(speech_id, vga_sprite_id); if (string_ptr != NULL && _subtitles) talk_with_text(vga_sprite_id, color, string_ptr, tv->a, tv->b, tv->c); - - if (_reset_arrays) { - // Work around for bug in original Simon the Sorcerer 1 - // The game wouldn't reset array back to room descriptions - // after a conversation. - uint i; - for (i = 0; i < 21; i++) { - _stringid_array_3[i] = _stringid_array_3_backup[i]; - _speechid_array_4[i] = _speechid_array_4_backup[i]; - } - _reset_arrays = 0; - } } break; |