aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-11 00:35:28 +0200
committerJohannes Schickel2011-04-11 00:35:28 +0200
commit073da68efa75045530afd201e8b82886326072a9 (patch)
treed1c65df6682bcce5e8bd33080307f43430ddbff0 /engines
parent93f591580a31b0a4553994be40a2eb0b227e3a56 (diff)
downloadscummvm-rg350-073da68efa75045530afd201e8b82886326072a9.tar.gz
scummvm-rg350-073da68efa75045530afd201e8b82886326072a9.tar.bz2
scummvm-rg350-073da68efa75045530afd201e8b82886326072a9.zip
KYRA: Constify static data table in LoL code.
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 7003d8c38f..bec4879f36 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -898,7 +898,7 @@ void LoLEngine::startupNew() {
memset(_globalScriptVars2, 0x100, 8);
- static int selectIds[] = { -9, -1, -8, -5 };
+ static const int selectIds[] = { -9, -1, -8, -5 };
addCharacter(selectIds[_charSelection]);
gui_enableDefaultPlayfieldButtons();