diff options
author | Travis Howell | 2005-02-26 12:10:06 +0000 |
---|---|---|
committer | Travis Howell | 2005-02-26 12:10:06 +0000 |
commit | 4a803b93c04ed5152ba5d77096451601545f4c21 (patch) | |
tree | c9ef9f53264e7a3aeb3cacb9b29d814a01f71e62 /scumm/sprite_he.cpp | |
parent | 280003edeea4cb82504f4909ef5c15feca387fbc (diff) | |
download | scummvm-rg350-4a803b93c04ed5152ba5d77096451601545f4c21.tar.gz scummvm-rg350-4a803b93c04ed5152ba5d77096451601545f4c21.tar.bz2 scummvm-rg350-4a803b93c04ed5152ba5d77096451601545f4c21.zip |
Correction to findSprite()
svn-id: r16932
Diffstat (limited to 'scumm/sprite_he.cpp')
-rw-r--r-- | scumm/sprite_he.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 3210ed0e1a..d60352406c 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -38,16 +38,16 @@ void ScummEngine_v90he::allocateArrays() { // // spriteInfoGet functions // -int ScummEngine_v90he::findSpriteWithClassOf(int x, int y, int spriteGroup, int d, int num, int *args) { +int ScummEngine_v90he::findSpriteWithClassOf(int x, int y, int spriteGroupId, int d, int num, int *args) { int classId; - debug(1, "findSprite: x %d, y %d, spriteGroup %d, d %d, num %d", x, y, spriteGroup, d, num); + debug(1, "findSprite: x %d, y %d, spriteGroup %d, d %d, num %d", x, y, spriteGroupId, d, num); for (int i = 0; i < _numSpritesToProcess; ++i) { SpriteInfo *spi = _activeSpritesTable[i]; if (!spi->field_4C) continue; - if (spriteGroup && spi->group_num != spi->field_4C) + if (spriteGroupId && spi->group_num != spriteGroupId) continue; for (int j = 0; j < num; j++) { |