mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-03-03 15:31:11 +00:00
Revise previous commit
git-svn-id: https://svn.eduke32.com/eduke32@6527 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
933161fc2d
commit
ee0524bc23
1 changed files with 6 additions and 12 deletions
|
@ -8255,23 +8255,17 @@ static void G_DoEventGame(int const nEventID)
|
||||||
while (statNum < MAXSTATUS);
|
while (statNum < MAXSTATUS);
|
||||||
}
|
}
|
||||||
|
|
||||||
int statNum = 0;
|
int spriteNum = headspritestat[0];
|
||||||
|
|
||||||
do
|
while (spriteNum >= 0)
|
||||||
{
|
{
|
||||||
int spriteNum = headspritestat[statNum++];
|
int const nextSprite = nextspritestat[spriteNum];
|
||||||
|
|
||||||
while (spriteNum >= 0)
|
if (sprite[spriteNum].xrepeat == 0)
|
||||||
{
|
A_DeleteSprite(spriteNum);
|
||||||
int const nextSprite = nextspritestat[spriteNum];
|
|
||||||
|
|
||||||
if (sprite[spriteNum].xrepeat == 0)
|
spriteNum = nextSprite;
|
||||||
A_DeleteSprite(spriteNum);
|
|
||||||
|
|
||||||
spriteNum = nextSprite;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
while (statNum < MAXSTATUS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void G_MoveWorld(void)
|
void G_MoveWorld(void)
|
||||||
|
|
Loading…
Reference in a new issue