aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-09-13 04:16:22 +0000
committerTravis Howell2004-09-13 04:16:22 +0000
commitc1122f4333d1988a78c9d9fbe67076dc979d5c83 (patch)
tree889596fd04ea3032f4ad3c1f0b3bf8e7b89c45dd /scumm/string.cpp
parentfde215e10682b8ded5f08c772cc4ba973cfdd1df (diff)
downloadscummvm-rg350-c1122f4333d1988a78c9d9fbe67076dc979d5c83.tar.gz
scummvm-rg350-c1122f4333d1988a78c9d9fbe67076dc979d5c83.tar.bz2
scummvm-rg350-c1122f4333d1988a78c9d9fbe67076dc979d5c83.zip
Debug code strings should use string num, not var num.
Updated work around for loading datafiles. svn-id: r15086
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 1e1ee80434..782f60796d 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -627,7 +627,7 @@ int ScummEngine::addStringToStack(byte *dst, int dstSize, int var) {
return i;
}
- if (_version == 3 || _version >= 6)
+ if (_version == 3 || (_version >= 6 && _heversion < 72))
var = readVar(var);
if (var) {