diff options
author | Tim Angus <tim@ngus.net> | 2006-12-03 23:01:59 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-12-03 23:01:59 +0000 |
commit | 6b892b39592bc3fdf7e94616917f39ec071d390d (patch) | |
tree | 6da91cb1747f98967296fbeaec88e68f242a857a /src/server | |
parent | 344618181104012d609532848c5b1b0529247fa2 (diff) |
* Strip leading whitespace when displaying server names in the browser
* Sort by server name on alpha characters only
* Refresh master server IP address cache on map change
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/sv_ccmds.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/sv_ccmds.c b/src/server/sv_ccmds.c index a89b0f21..d0b5956b 100644 --- a/src/server/sv_ccmds.c +++ b/src/server/sv_ccmds.c @@ -157,6 +157,7 @@ static void SV_Map_f( void ) { qboolean killBots, cheat; char expanded[MAX_QPATH]; char mapname[MAX_QPATH]; + int i; map = Cmd_Argv(1); if ( !map ) { @@ -196,6 +197,11 @@ static void SV_Map_f( void ) { } else { Cvar_Set( "sv_cheats", "0" ); } + + // This forces the local master server IP address cache + // to be updated on sending the next heartbeat + for( i = 0; i < MAX_MASTER_SERVERS; i++ ) + sv_master[ i ]->modified = qtrue; } /* |