diff options
author | Paul Gilbert | 2013-07-30 08:59:29 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-07-30 08:59:29 -0400 |
commit | 25974eddb882adc818a9e93ced022253f72b31ee (patch) | |
tree | ab09526ea4f80e80cba53500da6a12d318388d07 | |
parent | a3e5c990058e780c9eb92c2fc7b6f13caa0ca14a (diff) | |
download | scummvm-rg350-25974eddb882adc818a9e93ced022253f72b31ee.tar.gz scummvm-rg350-25974eddb882adc818a9e93ced022253f72b31ee.tar.bz2 scummvm-rg350-25974eddb882adc818a9e93ced022253f72b31ee.zip |
TSAGE: Further fix for R2R conversations
-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); |