Browse Source

engine: add testing master server at mentality.rip:27011

pull/2/head
Alibek Omarov 1 year ago
parent
commit
2ecbe5b67e
  1. 1
      engine/common/masterlist.c
  2. 1
      engine/common/netchan.h

1
engine/common/masterlist.c

@ -419,5 +419,6 @@ void NET_InitMasters( void ) @@ -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( );
}

1
engine/common/netchan.h

@ -70,6 +70,7 @@ GNU General Public License for more details. @@ -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

Loading…
Cancel
Save