From 1fa858d33910ae92cb19ac3cda8b77a2f104e8dc Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 8 Sep 2011 00:32:03 +0200 Subject: KYRA: Made some more static data const. --- engines/kyra/kyra_hof.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra/kyra_hof.cpp') diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index b82099f058..c9603a2523 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -857,7 +857,7 @@ void KyraEngine_HoF::loadOptionsBuffer(const char *file) { void KyraEngine_HoF::loadChapterBuffer(int chapter) { char tempString[14]; - static const char *chapterFilenames[] = { + static const char *const chapterFilenames[] = { "CH1.XXX", "CH2.XXX", "CH3.XXX", "CH4.XXX", "CH5.XXX" }; @@ -1413,7 +1413,7 @@ void KyraEngine_HoF::runIdleScript(int script) { setNextIdleAnimTimer(); } else { // FIXME: move this to staticres.cpp? - static const char *idleScriptFiles[] = { + static const char *const idleScriptFiles[] = { "_IDLHAIR.EMC", "_IDLDUST.EMC", "_IDLLEAN.EMC", "_IDLDIRT.EMC", "_IDLTOSS.EMC", "_IDLNOSE.EMC", "_IDLBRSH.EMC", "_Z3IDLE.EMC", "_Z4IDLE.EMC", "_Z6IDLE.EMC", "_Z7IDLE.EMC", "_Z8IDLE.EMC" }; -- cgit v1.2.3