mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Blood: fix ILLUSION.MAP crash
This commit is contained in:
parent
9e8e441d02
commit
26344d1193
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue