mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +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,14 +6896,7 @@ skip:
|
||||||
|
|
||||||
if (apScriptGameEvent[EVENT_ANIMATESPRITES])
|
if (apScriptGameEvent[EVENT_ANIMATESPRITES])
|
||||||
{
|
{
|
||||||
j = spritesortcnt-1;
|
for (j = spritesortcnt-1; j>=0; j--)
|
||||||
|
|
||||||
do
|
|
||||||
G_DoEventAnimSprites(j);
|
|
||||||
while (j--);
|
|
||||||
|
|
||||||
if (j < 0) return;
|
|
||||||
|
|
||||||
G_DoEventAnimSprites(j);
|
G_DoEventAnimSprites(j);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue