diff options
-rw-r--r-- | scumm/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index db1c3a36ec..56a3ed2f2f 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -355,7 +355,7 @@ int Scumm::readVar(uint var) { return _vars[var]; if (var & 0x8000) { - if (_gameId == GID_ZAK256) { + if ((_gameId == GID_ZAK256) || (_gameId == GID_LOOM)) { // Emulate a wierd hack in Zak256 to read individual // bits of a normal global int b = (var & 0x000F); @@ -405,7 +405,7 @@ void Scumm::writeVar(uint var, int value) { } if (var & 0x8000) { - if (_gameId == GID_ZAK256) { + if ((_gameId == GID_ZAK256) || (_gameId == GID_LOOM)) { // Emulate a wierd hack in Zak256 to read individual // bits of a normal global int b = (var & 0x000F); |