From 073da68efa75045530afd201e8b82886326072a9 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 11 Apr 2011 00:35:28 +0200 Subject: KYRA: Constify static data table in LoL code. --- engines/kyra/lol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3