aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJoel Teichroeb2012-04-03 16:53:54 -0700
committerJoel Teichroeb2012-04-03 16:53:54 -0700
commit8dfa33ff1f7e1110d9dd93737eb0b22b61b06b7f (patch)
tree55e754539c7fc36b6c13c62678bbfab2c7612b46 /engines
parentd50e34c1bd1152170737bea6bd85c08566426eb6 (diff)
downloadscummvm-rg350-8dfa33ff1f7e1110d9dd93737eb0b22b61b06b7f.tar.gz
scummvm-rg350-8dfa33ff1f7e1110d9dd93737eb0b22b61b06b7f.tar.bz2
scummvm-rg350-8dfa33ff1f7e1110d9dd93737eb0b22b61b06b7f.zip
SCUMM: Fix casting away const
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);
}