diff options
author | Johannes Schickel | 2011-04-11 00:35:28 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-11 00:35:28 +0200 |
commit | 073da68efa75045530afd201e8b82886326072a9 (patch) | |
tree | d1c65df6682bcce5e8bd33080307f43430ddbff0 /engines | |
parent | 93f591580a31b0a4553994be40a2eb0b227e3a56 (diff) | |
download | scummvm-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.cpp | 2 |
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(); |