diff options
author | Johannes Schickel | 2006-03-17 19:39:46 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-03-17 19:39:46 +0000 |
commit | 41b4a6aa7cd5861aacdc107605e64f7f3a48b491 (patch) | |
tree | 321b1dc5cdd01250dcc7d6b771b0ec70fb8a7bab /engines/kyra | |
parent | bbd172559825d015cf308c5b2655c1496b82fb01 (diff) | |
download | scummvm-rg350-41b4a6aa7cd5861aacdc107605e64f7f3a48b491.tar.gz scummvm-rg350-41b4a6aa7cd5861aacdc107605e64f7f3a48b491.tar.bz2 scummvm-rg350-41b4a6aa7cd5861aacdc107605e64f7f3a48b491.zip |
Fixes bug #1401337 ("KYRA: Platform with pegasi graphics glitch")
svn-id: r21347
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sprites.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sprites.cpp b/engines/kyra/sprites.cpp index 0407c95267..620241964d 100644 --- a/engines/kyra/sprites.cpp +++ b/engines/kyra/sprites.cpp @@ -76,8 +76,8 @@ void Sprites::setupSceneAnims() { _anims[i].unk2 = READ_LE_UINT16(data); data += 4; - if (_engine->_northExitHeight & 0xFF > READ_LE_UINT16(data)) - _anims[i].drawY = _engine->_northExitHeight; + if ((_engine->_northExitHeight & 0xFF) > READ_LE_UINT16(data)) + _anims[i].drawY = _engine->_northExitHeight & 0xFF; else _anims[i].drawY = READ_LE_UINT16(data); data += 4; |