]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
improved r_shadows mode, new cvars for better use with overhead camera mods:
[xonotic/darkplaces.git] / netconn.c
index 0c55434498ad2e1e1678d0ab46e52f6385bbeb6e..b079a370d3fb2a941b0b717459cd0ac0ab5022fd 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -153,7 +153,7 @@ qboolean serverlist_consoleoutput;
 static int nFavorites = 0;
 static lhnetaddress_t favorites[256];
 
-void NetConn_UpdateFavorites()
+void NetConn_UpdateFavorites(void)
 {
        const char *p;
        nFavorites = 0;
@@ -1914,7 +1914,7 @@ void NetConn_QueryQueueFrame(void)
 
        if(!net_slist_pause.integer && serverlist_paused)
                ServerList_RebuildViewList();
-       serverlist_paused = net_slist_pause.integer;
+       serverlist_paused = net_slist_pause.integer != 0;
 
        if (serverlist_querysleep)
                return;