mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
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:
parent
7291688875
commit
0ece42110c
1 changed files with 9 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue