diff options
author | Strangerke | 2012-05-11 18:49:29 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 17:36:57 +0200 |
commit | 056541c5d98107dcd23202b6c8a262b9682936c0 (patch) | |
tree | e0f305867711167fdc2f2b060d4fdf39c5362dd0 /engines/lilliput | |
parent | d32887f36715c953d45db6f6b4a5695ceef04926 (diff) | |
download | scummvm-rg350-056541c5d98107dcd23202b6c8a262b9682936c0.tar.gz scummvm-rg350-056541c5d98107dcd23202b6c8a262b9682936c0.tar.bz2 scummvm-rg350-056541c5d98107dcd23202b6c8a262b9682936c0.zip |
LILLIPUT: Fix bug in displayFunction15
Diffstat (limited to 'engines/lilliput')
-rw-r--r-- | engines/lilliput/lilliput.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp index ab41b983ba..dee248197e 100644 --- a/engines/lilliput/lilliput.cpp +++ b/engines/lilliput/lilliput.cpp @@ -779,7 +779,7 @@ void LilliputEngine::displayFunction15() { int tmpVal = (j << 8) + i; if (map[1] != 0xFF) { int var1 = map[1]; - if (_rulesChunk9[var1] != 128) + if ((_rulesChunk9[var1] & 128) != 0) var1 += _animationTick; displayIsometricBlock(_savedSurfaceGameArea1, var1, tmpVal, 1 << 8); } @@ -787,7 +787,7 @@ void LilliputEngine::displayFunction15() { if (map[2] != 0xFF) { int var1 = map[2]; - if (_rulesChunk9[var1] != 128) + if ((_rulesChunk9[var1] & 128) != 0) var1 += _animationTick; displayIsometricBlock(_savedSurfaceGameArea1, var1, tmpVal, 2 << 8); } @@ -2243,7 +2243,7 @@ void LilliputEngine::sub12FE5() { } } - if (count !=0) + if (count != 0) displayInterfaceHotspots(); } |