aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-28 20:01:47 +0000
committerMax Horn2003-05-28 20:01:47 +0000
commit1f70da01556164c5b39bb0e804e2c919dd7b3c83 (patch)
tree3b39f7df442c0cc00fb9bf93dd33808e7982f89b /scumm/actor.cpp
parent01ac371c6afd94b4987528a49ee2bfe8c1cf84ea (diff)
downloadscummvm-rg350-1f70da01556164c5b39bb0e804e2c919dd7b3c83.tar.gz
scummvm-rg350-1f70da01556164c5b39bb0e804e2c919dd7b3c83.tar.bz2
scummvm-rg350-1f70da01556164c5b39bb0e804e2c919dd7b3c83.zip
const as const can!
svn-id: r8058
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 9955621abf..0b9b7646e6 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1004,7 +1004,7 @@ void Actor::animateLimb(int limb, int f) {
if (costume == 0)
return;
- byte *aksq, *akfo;
+ const byte *aksq, *akfo;
uint size;
byte *akos = _vm->getResourceAddress(rtCostume, costume);
assert(akos);
@@ -1016,7 +1016,7 @@ void Actor::animateLimb(int limb, int f) {
while (f--) {
if (cost.active[limb] != 0)
- _vm->akos_increaseAnim(this, limb, aksq, (uint16 *)akfo, size);
+ _vm->akos_increaseAnim(this, limb, aksq, (const uint16 *)akfo, size);
}
// needRedraw = true;
@@ -1422,7 +1422,7 @@ byte *Actor::getActorName() {
}
void Actor::remapActorPalette(int r_fact, int g_fact, int b_fact, int threshold) {
- byte *akos, *rgbs, *akpl;
+ const byte *akos, *rgbs, *akpl;
int akpl_size, i;
int r, g, b;
byte akpl_color;