mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +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])
|
||||
{
|
||||
j = spritesortcnt-1;
|
||||
|
||||
do
|
||||
for (j = spritesortcnt-1; j>=0; j--)
|
||||
G_DoEventAnimSprites(j);
|
||||
while (j--);
|
||||
|
||||
if (j < 0) return;
|
||||
|
||||
G_DoEventAnimSprites(j);
|
||||
}
|
||||
}
|
||||
#if 0 // def _MSC_VER
|
||||
|
|
Loading…
Reference in a new issue