From d6ba966669f62089c5cb01bcc9662ad4cddc6054 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 10 Oct 2013 19:45:38 +0200 Subject: [PATCH] another superslow loop. FIXME added. --- qcsrc/menu/xonotic/serverlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2