diff options
author | Travis Howell | 2005-04-08 12:05:15 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-08 12:05:15 +0000 |
commit | 3efdccee3718400fe32d7006b1673c439fa65195 (patch) | |
tree | a080dd7eb7e8eca4429ad27987043c6f7761035e /scumm | |
parent | 2a5aaf9fc2154ed58421a873fec94de3afdacfa0 (diff) | |
download | scummvm-rg350-3efdccee3718400fe32d7006b1673c439fa65195.tar.gz scummvm-rg350-3efdccee3718400fe32d7006b1673c439fa65195.tar.bz2 scummvm-rg350-3efdccee3718400fe32d7006b1673c439fa65195.zip |
Ooops
svn-id: r17451
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sprite_he.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 0f5bf08abe..d6c7b6ff62 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -426,8 +426,10 @@ int ScummEngine_v90he::spriteGroupGet_allocateGroupSpritesList(int spriteGroupId numSprites = 1; for (i = (_varNumSprites - 1); i > 0; i--) { - if (_spriteTable[i].groupNum == spriteGroupId) + if (_spriteTable[i].groupNum == spriteGroupId) { writeArray(0, 0, numSprites, i); + numSprites++; + } } return readVar(0); |