aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorMax Horn2006-03-04 11:57:14 +0000
committerMax Horn2006-03-04 11:57:14 +0000
commitf66cc08bdbdb662777a216a5a2c0cfbdcb463238 (patch)
tree646cbc43c92cc796c6cd8c9d07706c2061e9d457 /engines/scumm/scumm.cpp
parent7085bf37249e276c8334999a208cb1c011af9269 (diff)
downloadscummvm-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.cpp2
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