Remove invalid sprite check

svn-id: r16990
This commit is contained in:
Travis Howell 2005-03-05 00:34:02 +00:00
parent af17a87053
commit 4fb6f0059e

View File

@ -1086,10 +1086,10 @@ void ScummEngine_v90he::spritesMarkDirty(bool unkFlag) {
}
void ScummEngine_v90he::spritesUpdateImages() {
printf("spritesUpdateImages\n");
for (int i = 0; i < _numSpritesToProcess; ++i) {
SpriteInfo *spi = _activeSpritesTable[i];
if (spi->dx || spi->dy) {
checkRange(_varNumSprites, 1, i, "Invalid sprite %d");
int tx = spi->tx;
int ty = spi->ty;
spi->tx += spi->dx;