aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/touche/touche.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp
index 4bc8cc037e..ce1a26c788 100644
--- a/engines/touche/touche.cpp
+++ b/engines/touche/touche.cpp
@@ -2195,23 +2195,15 @@ int ToucheEngine::updateKeyCharTalk(int skipFlag) {
if (_keyCharTalkCounter) {
--_keyCharTalkCounter;
}
+ _currentObjectNum = talkingKeyChar;
if (_speechPlaying) {
_flagsTable[297] = 0;
+ _keyCharTalkCounter = 1;
if (_talkTextMode == kTalkModeVoiceOnly) {
- _keyCharTalkCounter = 0;
- }
- _currentObjectNum = talkingKeyChar;
- if (_keyCharTalkCounter == 0) {
- _keyCharTalkCounter = 1;
- }
- }
- if (_talkTextMode == kTalkModeVoiceOnly) {
- if (_speechPlaying) {
return 1;
}
}
if (_keyCharTalkCounter != 0) {
- _currentObjectNum = talkingKeyChar;
_talkTextDisplayed = true;
int textHeight = kTextHeight;
y -= kTextHeight;