From c1122f4333d1988a78c9d9fbe67076dc979d5c83 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 13 Sep 2004 04:16:22 +0000 Subject: Debug code strings should use string num, not var num. Updated work around for loading datafiles. svn-id: r15086 --- scumm/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/string.cpp') 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) { -- cgit v1.2.3