]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
fix some prototype warnings
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 8a290bf5ac9991932ceb8204e4a048796673c1f9..42dca46c48112363dcabc8124e198c1125fa47e0 100644 (file)
--- a/host.c
+++ b/host.c
@@ -461,6 +461,8 @@ void SV_DropClient (qboolean crash)
                MSG_WriteByte (&client->message, host_client - svs.clients);
                MSG_WriteByte (&client->message, 0);
        }
+
+       NET_Heartbeat ();
 }
 
 /*
@@ -488,6 +490,9 @@ void Host_ShutdownServer(qboolean crash)
 // stop all client sounds immediately
        CL_Disconnect ();
 
+       NET_Heartbeat ();
+       NET_Heartbeat ();
+
 // flush any pending messages - like the score!!!
        start = Sys_DoubleTime();
        do
@@ -901,7 +906,6 @@ void Host_Init (void)
                Render_Init();
                S_Init ();
                CDAudio_Init ();
-               Sbar_Init ();
                CL_Init ();
 #ifdef _WIN32 // on non win32, mouse comes before video for security reasons
                IN_Init ();