From a621158cee2c6ac1fe29bf6378f928b62abc23a1 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 26 Dec 2008 14:38:45 +0000 Subject: [PATCH] Added const keyword to static data. svn-id: r35563 --- engines/saga/interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index 7583f286d0e..4cd6cf4d7d8 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -52,7 +52,7 @@ namespace Saga { -static int verbToTextIdITE[] = { +static const int verbToTextIdITE[] = { kTextWalkTo, kTextLookAt, kTextPickUp, kTextTalkTo, kTextOpen, kTextClose, kTextUse, kTextGive }; @@ -61,7 +61,7 @@ static int verbToTextIdITE[] = { // i.e. id 12 (quit game button) maps to string 14 (Quit game) // The comments are what the actual IHNM string is // For the text string IDs, refer to saga.h, enum TextStringIds -static int IHNMTextStringIdsLUT[56] = { +static const int IHNMTextStringIdsLUT[56] = { -1, // (Empty) -1, // (Empty) 4, // Take