aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-13 20:03:18 +0000
committerMax Horn2003-07-13 20:03:18 +0000
commit27a1d8ab7b20ae74aa36c560304c33f597faa6e9 (patch)
treefaf2d27af912732d60c1e94e04b39627f1b8aad6 /scumm
parenta52a80d4f50f44ecfa11068700cfc647b1eaeae4 (diff)
downloadscummvm-rg350-27a1d8ab7b20ae74aa36c560304c33f597faa6e9.tar.gz
scummvm-rg350-27a1d8ab7b20ae74aa36c560304c33f597faa6e9.tar.bz2
scummvm-rg350-27a1d8ab7b20ae74aa36c560304c33f597faa6e9.zip
fix for bug #770344 (INDY3EGA: Amiga - Biff's name not shown in fight); this fix is not only needed for IndyEGA, but also for Loom (according to disassembly; I am guessing that it might be needed for all 'V3' (in our internal notation) games, but that remains to be verified
svn-id: r8994
Diffstat (limited to 'scumm')
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 3196dbd04c..08ca156ee6 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -639,7 +639,7 @@ void Scumm::addNameToStack(int var)
void Scumm::addStringToStack(int var) {
byte *ptr;
- if (_version >= 6 || _gameId == GID_INDY3_256)
+ if (_version == 3 || _version >= 6)
var = readVar(var);
if (var) {