mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 00:51:17 +00:00
Revert changes because dpmaster doesn't work that way.
This commit is contained in:
parent
7861cde4a2
commit
8243a77c0e
2 changed files with 4 additions and 3 deletions
|
@ -232,6 +232,7 @@ but not on every player enter or exit.
|
|||
================
|
||||
*/
|
||||
#define HEARTBEAT_MSEC 300*1000
|
||||
#define HEARTBEAT_GAME "QuakeArena-1"
|
||||
void SV_MasterHeartbeat( void ) {
|
||||
static netadr_t adr[MAX_MASTER_SERVERS][2]; // [2] for v4 and v6 address for the same address string.
|
||||
int i;
|
||||
|
@ -315,9 +316,9 @@ void SV_MasterHeartbeat( void ) {
|
|||
// ever incompatably changes
|
||||
|
||||
if(adr[i][0].type != NA_BAD)
|
||||
NET_OutOfBandPrint(NS_SERVER, adr[i][0], "heartbeat %s\n", GAMENAME_FOR_MASTER);
|
||||
NET_OutOfBandPrint( NS_SERVER, adr[i][0], "heartbeat %s\n", HEARTBEAT_GAME );
|
||||
if(adr[i][1].type != NA_BAD)
|
||||
NET_OutOfBandPrint(NS_SERVER, adr[i][1], "heartbeat %s\n", GAMENAME_FOR_MASTER);
|
||||
NET_OutOfBandPrint( NS_SERVER, adr[i][1], "heartbeat %s\n", HEARTBEAT_GAME );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue