diff options
-rw-r--r-- | scumm/sprite_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 67b25375c4..ec2af419f5 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -962,8 +962,8 @@ void ScummEngine_v90he::spritesAllocTables(int numSprites, int numGroups, int nu } void ScummEngine_v90he::spritesResetGroup(int spriteGroupId) { - SpriteGroup *spg = &_spriteGroups[spriteGroupId]; checkRange(_varNumSpriteGroups, 1, spriteGroupId, "Invalid sprite group %d"); + SpriteGroup *spg = &_spriteGroups[spriteGroupId]; spg->zorderPriority = 0; spg->tx = spg->ty = 0; |