From: Stephan Stahl Date: Sun, 27 Feb 2011 16:09:28 +0000 (+0100) Subject: Use one less loop X-Git-Tag: xonotic-v0.5.0~309^2~19 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=dfa574e25f8cbda3c500b7d434a09f24ccf2d48c;ds=sidebyside Use one less loop --- diff --git a/qcsrc/menu/anim/animhost.c b/qcsrc/menu/anim/animhost.c index 1d02df5632..48a45bda84 100644 --- a/qcsrc/menu/anim/animhost.c +++ b/qcsrc/menu/anim/animhost.c @@ -166,9 +166,6 @@ void AnimHost_tickAll(entity me) for(e = me.firstChild; e; e = e.nextSibling) { e.tick(e, time); - } - for(e = me.firstChild; e; e = e.nextSibling) - { if (e.isFinished(e)) { tmp = e;