diff options
author | Max Horn | 2006-03-04 11:57:14 +0000 |
---|---|---|
committer | Max Horn | 2006-03-04 11:57:14 +0000 |
commit | f66cc08bdbdb662777a216a5a2c0cfbdcb463238 (patch) | |
tree | 646cbc43c92cc796c6cd8c9d07706c2061e9d457 /engines/scumm/scumm.cpp | |
parent | 7085bf37249e276c8334999a208cb1c011af9269 (diff) | |
download | scummvm-rg350-f66cc08bdbdb662777a216a5a2c0cfbdcb463238.tar.gz scummvm-rg350-f66cc08bdbdb662777a216a5a2c0cfbdcb463238.tar.bz2 scummvm-rg350-f66cc08bdbdb662777a216a5a2c0cfbdcb463238.zip |
Const as const can (marking things as const/static allows better compiler optimizations and helps to catch certain bugs)
svn-id: r21069
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r-- | engines/scumm/scumm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 91af05f083..b53dcb0512 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -79,7 +79,7 @@ namespace Scumm { ScummEngine *g_scumm = 0; -static SubstResFileNames substResFileNameTable[] = { +static const SubstResFileNames substResFileNameTable[] = { // The first few entries for 00.LFL/01.LFL files are here for two reasons: // 1) For the detector to detect these games // 2) Because the ScummEngine constructor distinguishes between extracted |