diff options
author | Tim Angus <tim@ngus.net> | 2006-02-24 22:04:35 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-02-24 22:04:35 +0000 |
commit | e9456d7a58fc721cc5c931838399d9734b6fd971 (patch) | |
tree | ece21f7411a55bb9bfec20a5e516d589726aa272 /src/server/sv_main.c | |
parent | 5c520de1c5d9fe71dadea68767535ce27add2dba (diff) |
* Merged ioq3-r584
Diffstat (limited to 'src/server/sv_main.c')
-rw-r--r-- | src/server/sv_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/sv_main.c b/src/server/sv_main.c index be579268..adc472ed 100644 --- a/src/server/sv_main.c +++ b/src/server/sv_main.c @@ -824,13 +824,13 @@ void SV_Frame( int msec ) { // 2giga-milliseconds = 23 days, so it won't be too often if ( svs.time > 0x70000000 ) { SV_Shutdown( "Restarting server due to time wrapping" ); - Cbuf_AddText( "vstr nextmap\n" ); + Cbuf_AddText( va( "map %s\n", Cvar_VariableString( "mapname" ) ) ); return; } // this can happen considerably earlier when lots of clients play and the map doesn't change if ( svs.nextSnapshotEntities >= 0x7FFFFFFE - svs.numSnapshotEntities ) { SV_Shutdown( "Restarting server due to numSnapshotEntities wrapping" ); - Cbuf_AddText( "vstr nextmap\n" ); + Cbuf_AddText( va( "map %s\n", Cvar_VariableString( "mapname" ) ) ); return; } |