forked from cafeberry/cafeberry
fix: networking fixes + add server
This commit is contained in:
@@ -71,13 +71,8 @@ std::vector<BYTE> NetworkSocketLayer::s_freeSmallIds;
|
||||
|
||||
// only goes true on a successful Initialize(), and a failed one gets retried
|
||||
static bool s_locksCreated = false;
|
||||
#if !defined _WINDOWS64
|
||||
bool g_MultiplayerHost = true;
|
||||
bool g_MultiplayerJoin = false;
|
||||
#else
|
||||
bool g_MultiplayerHost = false;
|
||||
bool g_MultiplayerJoin = true;
|
||||
#endif
|
||||
|
||||
#ifdef MINECRAFT_SERVER_BUILD
|
||||
int g_DedicatedServerPort = NETWORK_LAN_DEFAULT_PORT;
|
||||
@@ -85,7 +80,7 @@ char g_DedicatedServerBindIP[256] = "";
|
||||
bool g_DedicatedServerLanAdvertise = true;
|
||||
#endif
|
||||
int g_MultiplayerPort = NETWORK_LAN_DEFAULT_PORT;
|
||||
char g_MultiplayerIP[256] = "192.168.8.27";
|
||||
char g_MultiplayerIP[256] = "";
|
||||
|
||||
|
||||
bool NetworkSocketLayer::Initialize()
|
||||
|
||||
Reference in New Issue
Block a user