Fix getting servers from and being listed on id's q3 master server
Use q3 master protocol when com_gamename is Quake3Arena (the default), otherwise use dpmaster protocol.
This commit is contained in:
parent
608e852ac6
commit
6b13806066
3 changed files with 11 additions and 0 deletions
|
@ -252,6 +252,9 @@ void SV_MasterHeartbeat(const char *message)
|
|||
if ( svs.time < svs.nextHeartbeatTime )
|
||||
return;
|
||||
|
||||
if ( !Q_stricmp( com_gamename->string, LEGACY_MASTER_GAMENAME ) )
|
||||
message = LEGACY_HEARTBEAT_FOR_MASTER;
|
||||
|
||||
svs.nextHeartbeatTime = svs.time + HEARTBEAT_MSEC;
|
||||
|
||||
// send to group masters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue