]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
another superslow loop. FIXME added.
authorRudolf Polzer <divverent@xonotic.org>
Thu, 10 Oct 2013 17:45:38 +0000 (19:45 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 10 Oct 2013 17:45:38 +0000 (19:45 +0200)
qcsrc/menu/xonotic/serverlist.c

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