aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/animator_lok.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-06-24 13:59:48 +0000
committerJohannes Schickel2008-06-24 13:59:48 +0000
commitdf1aa7809aad2a6b0404d57aeb9d0c5a423fd91b (patch)
treeaf5fb1d2792f23547699042416abb0c428df63f7 /engines/kyra/animator_lok.cpp
parent28e32bb7cb6df6610e137500c0187d4ba36d8bdf (diff)
downloadscummvm-rg350-df1aa7809aad2a6b0404d57aeb9d0c5a423fd91b.tar.gz
scummvm-rg350-df1aa7809aad2a6b0404d57aeb9d0c5a423fd91b.tar.bz2
scummvm-rg350-df1aa7809aad2a6b0404d57aeb9d0c5a423fd91b.zip
Added const to some static data.
svn-id: r32763
Diffstat (limited to 'engines/kyra/animator_lok.cpp')
-rw-r--r--engines/kyra/animator_lok.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/animator_lok.cpp b/engines/kyra/animator_lok.cpp
index 1baa78b203..75d5537e4a 100644
--- a/engines/kyra/animator_lok.cpp
+++ b/engines/kyra/animator_lok.cpp
@@ -665,7 +665,7 @@ void Animator_LoK::animRefreshNPC(int character) {
void Animator_LoK::setCharacterDefaultFrame(int character) {
debugC(9, kDebugLevelAnimator, "Animator_LoK::setCharacterDefaultFrame()");
- static uint16 initFrameTable[] = {
+ static const uint16 initFrameTable[] = {
7, 41, 77, 0, 0
};
assert(character < ARRAYSIZE(initFrameTable));
@@ -678,7 +678,7 @@ void Animator_LoK::setCharacterDefaultFrame(int character) {
void Animator_LoK::setCharactersHeight() {
debugC(9, kDebugLevelAnimator, "Animator_LoK::setCharactersHeight()");
- static int8 initHeightTable[] = {
+ static const int8 initHeightTable[] = {
48, 40, 48, 47, 56,
44, 42, 47, 38, 35,
40