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:
helixhorned 2013-03-24 18:53:56 +00:00
parent c5e76e73f3
commit ebb71cf4ab

View file

@ -11442,7 +11442,7 @@ static int32_t check_spritelist_consistency()
csc_s = csc_i = -1; csc_s = csc_i = -1;
if ((unsigned)Numsprites >= MAXSPRITES) if (Numsprites < 0 || Numsprites > MAXSPRITES)
return 1; return 1;
for (i=0; i<MAXSPRITES; i++) for (i=0; i<MAXSPRITES; i++)