aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-02-24 04:28:44 +0000
committerEugene Sandulenko2005-02-24 04:28:44 +0000
commit5787793e054bff1b7f6a8992ac75f2c7607add4f (patch)
treea8f89ee95f4fcc656282e775d4051c02a527e01d
parent1ad372c58942fd0d1828e403038d97aaa7ccf967 (diff)
downloadscummvm-rg350-5787793e054bff1b7f6a8992ac75f2c7607add4f.tar.gz
scummvm-rg350-5787793e054bff1b7f6a8992ac75f2c7607add4f.tar.bz2
scummvm-rg350-5787793e054bff1b7f6a8992ac75f2c7607add4f.zip
Fix bug in ScummEngine_v90he::spritesSortActiveSprites()
svn-id: r16888
-rw-r--r--scumm/sprite_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp
index 5735e8e33e..184c11cabd 100644
--- a/scumm/sprite_he.cpp
+++ b/scumm/sprite_he.cpp
@@ -1116,7 +1116,7 @@ void ScummEngine_v90he::spritesSortActiveSprites() {
for (int i = 1; i < _varNumSprites; i++) {
SpriteInfo *spi = &_spriteTable[i];
- if (spi->flags & kSF08) {
+ if (spi->flags & kSF16) {
if (!spi->flags & kSF23) {
if (!spi->flags & kSF30)
spi->flags |= kSFNeedRedraw;