mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-08 06:36:10 +00:00
Testing #define for testing Master Server Listing by yourself, without a second IP address to host
Disabled by default
This commit is contained in:
parent
0935106189
commit
c2148bf501
1 changed files with 5 additions and 0 deletions
|
|
@ -441,7 +441,12 @@ HMS_fetch_servers (msg_server_t *list, int query_id)
|
|||
break;
|
||||
#endif
|
||||
|
||||
//#define MSERVTESTALONE
|
||||
#ifdef MSERVTESTALONE
|
||||
strcpy(list[i].ip, "127.0.0.1"); // MS test without needing a second person to host
|
||||
#else
|
||||
strlcpy(list[i].ip, address, sizeof list[i].ip);
|
||||
#endif
|
||||
strlcpy(list[i].port, port, sizeof list[i].port);
|
||||
|
||||
if (contact)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue