aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/toon.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-10-09 11:18:19 +0000
committerJohannes Schickel2010-10-09 11:18:19 +0000
commit571fe5d21eb7967974e5492ff8beab4545de7720 (patch)
tree7cf1678d0e4fc96672346dea2a952cc604e0e4fb /engines/toon/toon.cpp
parenteef9f7b57b493cfb7712fd47cb961d16e8ce878d (diff)
downloadscummvm-rg350-571fe5d21eb7967974e5492ff8beab4545de7720.tar.gz
scummvm-rg350-571fe5d21eb7967974e5492ff8beab4545de7720.tar.bz2
scummvm-rg350-571fe5d21eb7967974e5492ff8beab4545de7720.zip
TOON: Constify some more tables.
svn-id: r53099
Diffstat (limited to 'engines/toon/toon.cpp')
-rw-r--r--engines/toon/toon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index afabba920f..f1a31323c7 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -1532,8 +1532,8 @@ void ToonEngine::drawInfoLine() {
if (_currentHotspotItem >= 0 && _currentHotspotItem < 2000) {
infoTool = _roomTexts->getText(_currentHotspotItem);
} else if (_currentHotspotItem <= -1) {
-// static char *specialInfoLine[] = { "Exit non defined", "Bottomless Bag", "Flux", "Drew Blanc" };
- infoTool = _specialInfoLine[-1-_currentHotspotItem ];
+// static const char * const specialInfoLine[] = { "Exit non defined", "Bottomless Bag", "Flux", "Drew Blanc" };
+ infoTool = _specialInfoLine[-1 - _currentHotspotItem];
} else {
int32 loc = _currentHotspotItem - 2000;
// location names are hardcoded ...