diff options
author | Anthony Pesch <inolen@gmail.com> | 2014-02-01 09:50:22 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:38 +0100 |
commit | 1778f3fb8cabe7400011c84331018b0ebf6a44b1 (patch) | |
tree | 89cff373a6635c5931a19e1868c455123e546c49 /src | |
parent | 8a9ab09aa32c5164da0403c85c5c32ab36f52a5e (diff) |
restart the renderer after the hunk mark has been set
Diffstat (limited to 'src')
-rw-r--r-- | src/server/sv_init.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/server/sv_init.c b/src/server/sv_init.c index 71e5f717..30fd3936 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -452,11 +452,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(); @@ -608,6 +603,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"); } |