From 90d67659dc207aadb368613a8a4412d0c34da62d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 22 Jan 2006 21:28:37 +0000 Subject: Overlooked the Indy3 FM-TOWNS case in my previous commit svn-id: r20141 --- scumm/script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/script.cpp') diff --git a/scumm/script.cpp b/scumm/script.cpp index 9068c4b17a..b9a8195f18 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -531,7 +531,7 @@ int ScummEngine::readVar(uint var) { checkRange(_numRoomVariables - 1, 0, var, "Room variable %d out of range(w)"); return _roomVars[var]; - } else if (_version <= 3) { + } else if (_version <= 3 && !(_gameId == GID_INDY3 && (_platform == Common::kPlatformFMTowns))) { int bit = var & 0xF; var = (var >> 4) & 0xFF; @@ -620,7 +620,7 @@ void ScummEngine::writeVar(uint var, int value) { checkRange(_numRoomVariables - 1, 0, var, "Room variable %d out of range(w)"); _roomVars[var] = value; - } else if (_version <= 3) { + } else if (_version <= 3 && !(_gameId == GID_INDY3 && (_platform == Common::kPlatformFMTowns))) { // In the old games, the bit variables were using the same memory // as the normal variables! int bit = var & 0xF; -- cgit v1.2.3