diff options
author | D G Turner | 2012-11-19 23:00:40 +0000 |
---|---|---|
committer | D G Turner | 2012-11-19 23:00:40 +0000 |
commit | 362e195a5f538c4bfbb402df66102d6f1f0b57fe (patch) | |
tree | fc5fbc5c7b707537e3a200cf9508bb3246f11b8f /engines/queen | |
parent | 61cb8648a970b671b49d8c2813b7cc0dfb81de60 (diff) | |
download | scummvm-rg350-362e195a5f538c4bfbb402df66102d6f1f0b57fe.tar.gz scummvm-rg350-362e195a5f538c4bfbb402df66102d6f1f0b57fe.tar.bz2 scummvm-rg350-362e195a5f538c4bfbb402df66102d6f1f0b57fe.zip |
QUEEN: Remove unused, but set variable, personWalking from Talk::talk().
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/talk.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/queen/talk.cpp b/engines/queen/talk.cpp index 94bc105bb0..1a520fa818 100644 --- a/engines/queen/talk.cpp +++ b/engines/queen/talk.cpp @@ -96,7 +96,6 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { } int16 oldLevel = 0; - bool personWalking = false; // FIXME: unused // Lines 828-846 in talk.c for (i = 1; i <= 4; i++) { @@ -174,8 +173,7 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { if (1 == choicesLeft) { // Automatically run the final dialogue option - if (speak(_talkString[0], &person, otherVoiceFilePrefix)) - personWalking = true; + speak(_talkString[0], &person, otherVoiceFilePrefix) if (_vm->input()->talkQuit()) break; @@ -251,8 +249,7 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { findDialogueString(_person1PtrOff, head, _pMax, _talkString[0]); if (_talkString[0][0] != '\0') { sprintf(otherVoiceFilePrefix, "%2d%4xP", _talkKey, head); - if (speak(_talkString[0], &person, otherVoiceFilePrefix)) - personWalking = true; + speak(_talkString[0], &person, otherVoiceFilePrefix) } } } |