aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-03-09 01:05:08 +0000
committerTravis Howell2005-03-09 01:05:08 +0000
commit69a39e3c54b2433ca39517a34f43d3c4473ad81d (patch)
tree3552f27e39fce9f31be68db5d25af8bfb53b2cfd
parent913fd254d1f24cd76db280a86f894e95146c8e96 (diff)
downloadscummvm-rg350-69a39e3c54b2433ca39517a34f43d3c4473ad81d.tar.gz
scummvm-rg350-69a39e3c54b2433ca39517a34f43d3c4473ad81d.tar.bz2
scummvm-rg350-69a39e3c54b2433ca39517a34f43d3c4473ad81d.zip
Correct position
svn-id: r17043
-rw-r--r--scumm/sprite_he.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp
index 160885c2c0..8182c7343d 100644
--- a/scumm/sprite_he.cpp
+++ b/scumm/sprite_he.cpp
@@ -1023,10 +1023,9 @@ void ScummEngine_v90he::spritesBlitToScreen() {
}
refreshScreen = true;
}
+ if (!(spi->flags & (kSFNeedRedraw | kSF30)) && spi->res_id)
+ spi->flags |= kSFNeedRedraw;
}
- if (!(spi->flags & (kSFNeedRedraw | kSF30)) && spi->res_id) {
- spi->flags |= kSFNeedRedraw;
- }
}
}
if (refreshScreen) {