diff options
author | Travis Howell | 2005-02-24 11:22:05 +0000 |
---|---|---|
committer | Travis Howell | 2005-02-24 11:22:05 +0000 |
commit | 8a5918aa2e3cb864247ba0d4bafb4961d67aba9a (patch) | |
tree | 126301f1a56873d587a2d3fb8edc601af95ba075 | |
parent | 40771358a63e9350551f4a7fc46fd6853bae73d0 (diff) | |
download | scummvm-rg350-8a5918aa2e3cb864247ba0d4bafb4961d67aba9a.tar.gz scummvm-rg350-8a5918aa2e3cb864247ba0d4bafb4961d67aba9a.tar.bz2 scummvm-rg350-8a5918aa2e3cb864247ba0d4bafb4961d67aba9a.zip |
Correct sprite flags in resetSprite
svn-id: r16897
-rw-r--r-- | scumm/sprite_he.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 782609d003..9a35067c98 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -573,7 +573,7 @@ void ScummEngine_v90he::spriteInfoSet_resetSprite(int spriteId) { _spriteTable[spriteId].tx = 0; _spriteTable[spriteId].ty = 0; - _spriteTable[spriteId].flags &= ~(kSF07 | kSFRotated); + _spriteTable[spriteId].flags &= ~(kSF14 | kSF15); _spriteTable[spriteId].flags |= kSF01 | kSFNeedRedraw; _spriteTable[spriteId].dx = 0; _spriteTable[spriteId].dy = 0; @@ -1160,9 +1160,8 @@ void ScummEngine_v90he::spritesProcessWiz(bool arg) { for (int i = 0; i < _numSpritesToProcess; i++) { SpriteInfo *spi = _activeSpritesTable[i]; - if (!(spi->flags & kSFNeedRedraw)) { - //continue; // HACK - } + if (!(spi->flags & kSFNeedRedraw)) + continue; spr_flags = spi->flags; |