]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/serverlist.c
Get rid of if not, step 1.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / serverlist.c
index 86fdf1c63b0cd1ae927d144ec63f9751b15a4f24..3531b68a2d628e5fbcaf839f32aac99dd5068f74 100644 (file)
@@ -663,7 +663,7 @@ void XonoticServerList_drawListBoxItem(entity me, float i, vector absSize, float
                theAlpha = SKINALPHA_SERVERLIST_FULL;
        else if(freeslots == 0)
                theAlpha = SKINALPHA_SERVERLIST_FULL; // g_maxplayers support
-       else if not(gethostcachenumber(SLIST_FIELD_NUMHUMANS, i))
+       else if (!gethostcachenumber(SLIST_FIELD_NUMHUMANS, i))
                theAlpha = SKINALPHA_SERVERLIST_EMPTY;
        else
                theAlpha = 1;
@@ -747,7 +747,7 @@ void XonoticServerList_drawListBoxItem(entity me, float i, vector absSize, float
 
                string n;
 
-               if not(me.seenIPv4 && me.seenIPv6)
+               if (!(me.seenIPv4 && me.seenIPv6))
                {
                        iconPos_x += iconSize_x * 0.5;
                }