* Fix to a bug where servers with long uptimes (~27 days) would consume 100%

CPU if the running game did not set the nextmap cvar. This patch instead uses
  the mapname server cvar, which is guaranteed to be defined.
This commit is contained in:
Tim Angus 2006-02-23 23:10:54 +00:00
parent 0e0aac2cb6
commit d5509dcd35
2 changed files with 3 additions and 3 deletions

View file

@ -671,7 +671,7 @@ void SV_Shutdown( char *finalmsg ) {
return;
}
Com_Printf( "----- Server Shutdown -----\n" );
Com_Printf( "----- Server Shutdown (%s) -----\n", finalmsg );
if ( svs.clients && !com_errorEntered ) {
SV_FinalMessage( finalmsg );