restart the renderer after the hunk mark has been set

This commit is contained in:
Anthony Pesch committed 2014-02-01 09:58:49 -08:00
1 parent 4520857fc9
commit 278d7533e5
1 file changed
+8 -5
+8 -5
View File
@@ -422,11 +422,6 @@ void SV_SpawnServer( char *server, qboolean killBots ) {
// clear the whole hunk because we're (re)loading the server
Hunk_Clear();
#ifndef DEDICATED
// Restart renderer
CL_StartHunkUsers( qtrue );
#endif
// clear collision map data
CM_ClearMap();
@@ -614,6 +609,14 @@ void SV_SpawnServer( char *server, qboolean killBots ) {
Hunk_SetMark();
#ifndef DEDICATED
if ( com_dedicated->integer ) {
// restart renderer in order to show console for dedicated servers
// launched through the regular binary
CL_StartHunkUsers( qtrue );
}
#endif
Com_Printf ("-----------------------------------\n");
}