- fixed bad iterator setup in SpriteSetupPost

This commit is contained in:
Christoph Oelckers 2022-11-07 13:48:01 +01:00
parent 8f5923c324
commit fd1864bb48

View file

@ -1577,7 +1577,7 @@ void SpriteSetupPost(void)
while (auto iActor = it.Next())
{
SWSectIterator it2(iActor->sector());
while (auto jActor = it.Next())
while (auto jActor = it2.Next())
{
if (jActor->spr.picnum == ST1)
continue;