mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 05:31:29 +00:00
Make it use the correct game name in getserversExt queries
This commit is contained in:
parent
b0a753eb0f
commit
7861cde4a2
2 changed files with 3 additions and 4 deletions
|
@ -37,7 +37,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define BASEGAME "baseq3"
|
||||
#define CLIENT_WINDOW_TITLE "ioquake3"
|
||||
#define CLIENT_WINDOW_MIN_TITLE "ioq3"
|
||||
#define GAMENAME_FOR_MASTER "Quake3Arena"
|
||||
#define GAMENAME_FOR_MASTER "QuakeArena-1"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
|
@ -232,7 +232,6 @@ 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;
|
||||
|
@ -316,9 +315,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", HEARTBEAT_GAME );
|
||||
NET_OutOfBandPrint(NS_SERVER, adr[i][0], "heartbeat %s\n", GAMENAME_FOR_MASTER);
|
||||
if(adr[i][1].type != NA_BAD)
|
||||
NET_OutOfBandPrint( NS_SERVER, adr[i][1], "heartbeat %s\n", HEARTBEAT_GAME );
|
||||
NET_OutOfBandPrint(NS_SERVER, adr[i][1], "heartbeat %s\n", GAMENAME_FOR_MASTER);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue