mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Mapster32: don't wrongly report PANIC corruption with MAXSPRITES sprites present.
git-svn-id: https://svn.eduke32.com/eduke32@3599 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c5e76e73f3
commit
ebb71cf4ab
1 changed files with 1 additions and 1 deletions
|
@ -11442,7 +11442,7 @@ static int32_t check_spritelist_consistency()
|
|||
|
||||
csc_s = csc_i = -1;
|
||||
|
||||
if ((unsigned)Numsprites >= MAXSPRITES)
|
||||
if (Numsprites < 0 || Numsprites > MAXSPRITES)
|
||||
return 1;
|
||||
|
||||
for (i=0; i<MAXSPRITES; i++)
|
||||
|
|
Loading…
Reference in a new issue