aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/actor.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index f104f7bb8b..5c3261a3e5 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -1862,21 +1862,16 @@ void ScummEngine_v7::actorTalk(const byte *msg) {
}
if (_actorToPrintStrFor == 0xFF) {
setTalkingActor(0xFF);
+ _charsetColor = (byte)_string[0].color;
} else {
a = derefActor(_actorToPrintStrFor, "actorTalk");
setTalkingActor(a->_number);
if (!_string[0].no_talk_anim) {
a->runActorTalkScript(a->_talkStartFrame);
- _useTalkAnims = true;
}
- }
-
- if (getTalkingActor() > 0x7F) {
- _charsetColor = (byte)_string[0].color;
- } else {
- a = derefActor(getTalkingActor(), "actorTalk(2)");
_charsetColor = a->_talkColor;
}
+
_charsetBufPos = 0;
_talkDelay = 0;
_haveMsg = 1;