mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Rewrite the EVENT_ANIMATESPRITES loop (G_DoEventAnimSprites calls) for clarity.
git-svn-id: https://svn.eduke32.com/eduke32@2893 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0aec79ef8f
commit
6aad2578a3
1 changed files with 1 additions and 8 deletions
|
@ -6896,15 +6896,8 @@ skip:
|
||||||
|
|
||||||
if (apScriptGameEvent[EVENT_ANIMATESPRITES])
|
if (apScriptGameEvent[EVENT_ANIMATESPRITES])
|
||||||
{
|
{
|
||||||
j = spritesortcnt-1;
|
for (j = spritesortcnt-1; j>=0; j--)
|
||||||
|
|
||||||
do
|
|
||||||
G_DoEventAnimSprites(j);
|
G_DoEventAnimSprites(j);
|
||||||
while (j--);
|
|
||||||
|
|
||||||
if (j < 0) return;
|
|
||||||
|
|
||||||
G_DoEventAnimSprites(j);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if 0 // def _MSC_VER
|
#if 0 // def _MSC_VER
|
||||||
|
|
Loading…
Reference in a new issue