]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use one less loop
authorStephan Stahl <esteel@eos.franken.de>
Sun, 27 Feb 2011 16:09:28 +0000 (17:09 +0100)
committerStephan Stahl <esteel@eos.franken.de>
Sun, 27 Feb 2011 16:09:28 +0000 (17:09 +0100)
qcsrc/menu/anim/animhost.c

index 1d02df563297a163c4eca9512375645cdd156bc5..48a45bda8465795e8883373ab088918783c4c0d3 100644 (file)
@@ -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;