mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +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;
|
break;
|
||||||
#endif
|
#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);
|
strlcpy(list[i].ip, address, sizeof list[i].ip);
|
||||||
|
#endif
|
||||||
strlcpy(list[i].port, port, sizeof list[i].port);
|
strlcpy(list[i].port, port, sizeof list[i].port);
|
||||||
|
|
||||||
if (contact)
|
if (contact)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue