From 2a7019bd3d47c9e40b5e78ee83cc7bfb1c08bd1a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 13 May 2015 18:33:23 -0400 Subject: SHERLOCK: Remove redundant _scriptCurrentIndex field --- engines/sherlock/user_interface.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines/sherlock/user_interface.cpp') 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; -- cgit v1.2.3