]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert "another superslow loop. FIXME added." as this is just once per
authorRudolf Polzer <divverent@xonotic.org>
Thu, 10 Oct 2013 17:47:56 +0000 (19:47 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 10 Oct 2013 17:47:56 +0000 (19:47 +0200)
frame.

This reverts commit d6ba966669f62089c5cb01bcc9662ad4cddc6054.

qcsrc/menu/xonotic/serverlist.c

index 3509903167e8117659798a77f2cac95b07aadab8..24694d5f48fe5cd6eea23046ffef8a11b0b3b352 100644 (file)
@@ -667,7 +667,7 @@ void XonoticServerList_draw(entity me)
        found = 0;
        if(me.selectedServer)
        {
-               for(i = 0; i < me.nItems; ++i) // FIXME looping through all servers from draw is NOT ALLOWED.
+               for(i = 0; i < me.nItems; ++i)
                {
                        num = CheckItemNumber(i);
                        if(num >= 0)