From 2ecbe5b67eb017ae34d4b75d0d42ed43ceb64f46 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 22 Oct 2023 19:34:07 +0300 Subject: [PATCH] engine: add testing master server at mentality.rip:27011 --- engine/common/masterlist.c | 1 + engine/common/netchan.h | 1 + 2 files changed, 2 insertions(+) diff --git a/engine/common/masterlist.c b/engine/common/masterlist.c index 0900918b..895e6713 100644 --- a/engine/common/masterlist.c +++ b/engine/common/masterlist.c @@ -419,5 +419,6 @@ void NET_InitMasters( void ) // keep main master always there NET_AddMaster( MASTERSERVER_ADR, false ); + NET_AddMaster( MASTERSERVER_ADR_TEST, false ); NET_LoadMasters( ); } diff --git a/engine/common/netchan.h b/engine/common/netchan.h index a1c3cbd3..fd69fd7a 100644 --- a/engine/common/netchan.h +++ b/engine/common/netchan.h @@ -70,6 +70,7 @@ GNU General Public License for more details. #define NET_MAX_MESSAGE PAD_NUMBER(( NET_MAX_PAYLOAD + HEADER_BYTES ), 16 ) #define MASTERSERVER_ADR "mentality.rip:27010" +#define MASTERSERVER_ADR_TEST "mentality.rip:27011" #define MS_SCAN_REQUEST "1\xFF" "0.0.0.0:0\0" #define PORT_MASTER 27010