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:
helixhorned 2012-08-13 18:26:13 +00:00
parent 0aec79ef8f
commit 6aad2578a3

View file

@ -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