Fix breakage I introduced into CON_FOR while fixing breakage in CON_FOR. :(

git-svn-id: https://svn.eduke32.com/eduke32@6576 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-12-29 19:27:11 +00:00
parent 7291688875
commit 0ece42110c

View file

@ -5199,14 +5199,16 @@ finish_qsprintf:
switch (iterType)
{
case ITER_ALLSPRITES:
for (native_t jj=0; jj<Numsprites; ++jj)
for (native_t statNum=0; statNum<MAXSTATUS; ++statNum)
{
if (sprite[jj].statnum == MAXSTATUS)
continue;
Gv_SetVarX(returnVar, jj);
insptr = pNext;
VM_Execute(0);
for (native_t jj=headspritestat[statNum]; jj>=0;)
{
int const kk=nextspritestat[jj];
Gv_SetVarX(returnVar, jj);
insptr = pNext;
VM_Execute(0);
jj=kk;
}
}
break;
case ITER_ALLSECTORS: