diff --git a/source/blood/src/actor.cpp b/source/blood/src/actor.cpp index 852f115d1..565375b0f 100644 --- a/source/blood/src/actor.cpp +++ b/source/blood/src/actor.cpp @@ -5842,7 +5842,9 @@ void actProcessSprites(void) if (pSprite->flags & 32) continue; int nXSprite = pSprite->extra; - dassert(nXSprite > 0 && nXSprite < kMaxXSprites); + //dassert(nXSprite > 0 && nXSprite < kMaxXSprites); + if (nXSprite <= 0 || nXSprite >= kMaxXSprites) + continue; XSPRITE *pXSprite = &xsprite[nXSprite]; switch (pSprite->type) { case kTrapSawCircular: