From: Rudolf Polzer Date: Thu, 10 Oct 2013 17:45:38 +0000 (+0200) Subject: another superslow loop. FIXME added. X-Git-Tag: xonotic-v0.8.0~256^2~32 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d6ba966669f62089c5cb01bcc9662ad4cddc6054;p=xonotic%2Fxonotic-data.pk3dir.git another superslow loop. FIXME added. --- diff --git a/qcsrc/menu/xonotic/serverlist.c b/qcsrc/menu/xonotic/serverlist.c index 24694d5f4..350990316 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) + for(i = 0; i < me.nItems; ++i) // FIXME looping through all servers from draw is NOT ALLOWED. { num = CheckItemNumber(i); if(num >= 0)