X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fserverlist.c;h=3531b68a2d628e5fbcaf839f32aac99dd5068f74;hp=86fdf1c63b0cd1ae927d144ec63f9751b15a4f24;hb=786db02b0c9aa618c581b7c3fe7392ad114797d8;hpb=40c99b50ee69f18ebe88918e72a4598822c41ea0 diff --git a/qcsrc/menu/xonotic/serverlist.c b/qcsrc/menu/xonotic/serverlist.c index 86fdf1c63b..3531b68a2d 100644 --- a/qcsrc/menu/xonotic/serverlist.c +++ b/qcsrc/menu/xonotic/serverlist.c @@ -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; }