aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-05-04 02:23:52 +0000
committerTravis Howell2006-05-04 02:23:52 +0000
commite87de5898bc4d985cbf3c5ca404c96895da588bc (patch)
tree2df0499769aca562848696c5aa1342344b0a990a /engines/simon/string.cpp
parent84c99c82427f961fef4ffadd9809383a9e70b761 (diff)
downloadscummvm-rg350-e87de5898bc4d985cbf3c5ca404c96895da588bc.tar.gz
scummvm-rg350-e87de5898bc4d985cbf3c5ca404c96895da588bc.tar.bz2
scummvm-rg350-e87de5898bc4d985cbf3c5ca404c96895da588bc.zip
Cleanup
svn-id: r22320
Diffstat (limited to 'engines/simon/string.cpp')
-rw-r--r--engines/simon/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/string.cpp b/engines/simon/string.cpp
index ffda5629e8..99d2436afd 100644
--- a/engines/simon/string.cpp
+++ b/engines/simon/string.cpp
@@ -112,7 +112,7 @@ uint SimonEngine::loadTextFile_gme(const char *filename, byte *dst) {
uint32 offs;
uint32 size;
- res = atoi(filename + 4) + TEXT_INDEX_BASE - 1;
+ res = atoi(filename + 4) + _textIndexBase - 1;
offs = _gameOffsetsPtr[res];
size = _gameOffsetsPtr[res + 1] - offs;