diff options
-rw-r--r-- | engines/tsage/converse.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/tsage/converse.cpp b/engines/tsage/converse.cpp index 7e6c1b30d5..ec14ff330d 100644 --- a/engines/tsage/converse.cpp +++ b/engines/tsage/converse.cpp @@ -755,6 +755,8 @@ void StripManager::remove() { } void StripManager::signal() { + int strIndex = 0; + if (_textShown) { _activeSpeaker->removeText(); _textShown = false; @@ -823,6 +825,7 @@ void StripManager::signal() { if (entry._id == entryId) { // Get the next one choiceList.push_back((const char *)&_script[0] + entry._scriptOffset); + strIndex = idx; delayFlag = true; break; } @@ -876,7 +879,6 @@ void StripManager::signal() { } } - int strIndex = 0; if (choiceList.size() > 1) // Get the user to select a conversation option strIndex = _choiceDialog.execute(choiceList); |