aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/script_v0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/script_v0.cpp b/engines/scumm/script_v0.cpp
index 45901186cd..44b77f1d18 100644
--- a/engines/scumm/script_v0.cpp
+++ b/engines/scumm/script_v0.cpp
@@ -471,7 +471,7 @@ void ScummEngine_v0::drawSentenceLine() {
actorName = " ";
} else {
Actor *a = derefActor(actorId, "drawSentenceLine");
- actorName = (char *)a->getActorName();
+ actorName = (const char *)a->getActorName();
}
_sentenceBuf += Common::String::format("%-13s", actorName);
}