From: Rudolf Polzer Date: Thu, 10 Oct 2013 17:47:56 +0000 (+0200) Subject: Revert "another superslow loop. FIXME added." as this is just once per X-Git-Tag: xonotic-v0.8.0~256^2~31 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f523e12334ce787dbff08a25dafab55886d9d108;p=xonotic%2Fxonotic-data.pk3dir.git Revert "another superslow loop. FIXME added." as this is just once per frame. This reverts commit d6ba966669f62089c5cb01bcc9662ad4cddc6054. --- diff --git a/qcsrc/menu/xonotic/serverlist.c b/qcsrc/menu/xonotic/serverlist.c index 350990316..24694d5f4 100644 --- a/qcsrc/menu/xonotic/serverlist.c +++ b/qcsrc/menu/xonotic/serverlist.c @@ -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)