diff options
author | Jonathan Gray | 2003-08-22 03:14:29 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-08-22 03:14:29 +0000 |
commit | abf7f33dc463c8515ae236ec1e8c6284aa7f6344 (patch) | |
tree | ce334bd0c786e2ae4144cc7d5a22c4e99a69d144 /scumm/script.cpp | |
parent | bcd1f491252dac07a1590613eebfa2193096dc28 (diff) | |
download | scummvm-rg350-abf7f33dc463c8515ae236ec1e8c6284aa7f6344.tar.gz scummvm-rg350-abf7f33dc463c8515ae236ec1e8c6284aa7f6344.tar.bz2 scummvm-rg350-abf7f33dc463c8515ae236ec1e8c6284aa7f6344.zip |
loom towns needs this as well you can now learn f
svn-id: r9814
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index c2d9c321d0..e599ae456e 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -487,7 +487,8 @@ int Scumm::readVar(uint var) { } if (var & 0x8000) { - if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE)) { + if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE) || + (_gameId == GID_LOOM && (_features & GF_FMTOWNS))) { int bit = var & 0xF; var = (var >> 4) & 0xFF; @@ -557,7 +558,8 @@ void Scumm::writeVar(uint var, int value) { } if (var & 0x8000) { - if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE)) { + if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE) || + (_gameId == GID_LOOM && (_features & GF_FMTOWNS))) { // In the old games, the bit variables were using the same memory // as the normal variables! int bit = var & 0xF; |