SHERLOCK: Remove redundant _scriptCurrentIndex field
This commit is contained in:
parent
4cffb1c65f
commit
2a7019bd3d
3 changed files with 4 additions and 40 deletions
|
@ -1694,9 +1694,6 @@ void UserInterface::doTalkControl() {
|
|||
sound._speechOn = false;
|
||||
}
|
||||
|
||||
// Set the _scriptCurrentIndex so if the statement is irrupted, the entire
|
||||
// reply will be shown when it's restarted
|
||||
talk._scriptCurrentIndex = 0;
|
||||
talk.waitForMore(talk._statements[_selector]._statement.size());
|
||||
if (talk._talkToAbort)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue