diff options
author | Johannes Schickel | 2008-12-26 14:38:45 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-12-26 14:38:45 +0000 |
commit | a621158cee2c6ac1fe29bf6378f928b62abc23a1 (patch) | |
tree | f5256d8b4d191c87041e73fa200456d1cf436d8a | |
parent | dec4f1d0848c6fcdeaa252859d1c1c1629039ff9 (diff) | |
download | scummvm-rg350-a621158cee2c6ac1fe29bf6378f928b62abc23a1.tar.gz scummvm-rg350-a621158cee2c6ac1fe29bf6378f928b62abc23a1.tar.bz2 scummvm-rg350-a621158cee2c6ac1fe29bf6378f928b62abc23a1.zip |
Added const keyword to static data.
svn-id: r35563
-rw-r--r-- | engines/saga/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index 7583f286d0..4cd6cf4d7d 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 |