mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-07-18 02:38:08 +00:00
fix: support more max players
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
|
||||
#include "Network\WinsockNetLayer.h"
|
||||
|
||||
#include "..\PlayerRenderer.h"
|
||||
|
||||
#include "Windows64_PostProcess.h"
|
||||
|
||||
#include "Xbox/resource.h"
|
||||
@@ -832,6 +834,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
g_Win64MultiplayerPort = atoi(portBuf);
|
||||
if (g_Win64MultiplayerPort <= 0) g_Win64MultiplayerPort = WIN64_NET_DEFAULT_PORT;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (g_Win64Username[0] == 0)
|
||||
@@ -1040,6 +1043,8 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
extern wchar_t g_Win64UsernameW[17];
|
||||
wcscpy_s(IQNet::m_player[0].m_gamertag, 32, g_Win64UsernameW);
|
||||
|
||||
PlayerRenderer::InitNametagColors();
|
||||
|
||||
WinsockNetLayer::Initialize();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user