aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r--scumm/script_v72he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index de6bbb1062..8feec7fac1 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -1573,7 +1573,7 @@ void ScummEngine_v72he::o72_talkActor() {
_string[0].loadDefault();
if (_actorToPrintStrFor != 0xFF) {
- a = derefActorSafe(_actorToPrintStrFor, "o72_talkActor");
+ a = derefActor(_actorToPrintStrFor, "o72_talkActor");
_string[0].color = a->_talkColor;
}
actorTalk(_scriptPointer);
@@ -2261,7 +2261,7 @@ void ScummEngine_v72he::decodeParseString(int m, int n) {
if (n) {
_actorToPrintStrFor = pop();
if (_actorToPrintStrFor != 0xFF) {
- a = derefActorSafe(_actorToPrintStrFor, "decodeParseString");
+ a = derefActor(_actorToPrintStrFor, "decodeParseString");
_string[0].color = a->_talkColor;
}
}