diff options
author | Paul Gilbert | 2015-05-13 18:33:23 -0400 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-05-14 00:58:24 +0200 |
commit | 2a7019bd3d47c9e40b5e78ee83cc7bfb1c08bd1a (patch) | |
tree | c121bc4dfdde9b7b6c5a44a256fdf4a267817b2a /engines/sherlock/user_interface.cpp | |
parent | 4cffb1c65fe9a1d8665d3303be8cb6f3acc1494d (diff) | |
download | scummvm-rg350-2a7019bd3d47c9e40b5e78ee83cc7bfb1c08bd1a.tar.gz scummvm-rg350-2a7019bd3d47c9e40b5e78ee83cc7bfb1c08bd1a.tar.bz2 scummvm-rg350-2a7019bd3d47c9e40b5e78ee83cc7bfb1c08bd1a.zip |
SHERLOCK: Remove redundant _scriptCurrentIndex field
Diffstat (limited to 'engines/sherlock/user_interface.cpp')
-rw-r--r-- | engines/sherlock/user_interface.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp index 41505b89fc..e4230cae83 100644 --- a/engines/sherlock/user_interface.cpp +++ b/engines/sherlock/user_interface.cpp @@ -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; |