mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-19 11:49:09 +00:00
Ensure the net client doesn't do evil stuff before we're launched
This commit is contained in:
@ -1427,7 +1427,7 @@ bool plClient::StartInit()
|
|||||||
//
|
//
|
||||||
// Init Net before loading things
|
// Init Net before loading things
|
||||||
//
|
//
|
||||||
plNetClientMgr::GetInstance()->Init();
|
plNetClientMgr::GetInstance()->RegisterAs(kNetClientMgr_KEY);
|
||||||
plAgeLoader::GetInstance()->Init();
|
plAgeLoader::GetInstance()->Init();
|
||||||
|
|
||||||
plCmdIfaceModMsg* pModMsg2 = new plCmdIfaceModMsg;
|
plCmdIfaceModMsg* pModMsg2 = new plCmdIfaceModMsg;
|
||||||
@ -1463,6 +1463,7 @@ bool plClient::StartInit()
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
bool plClient::BeginGame()
|
bool plClient::BeginGame()
|
||||||
{
|
{
|
||||||
|
plNetClientMgr::GetInstance()->Init();
|
||||||
IPlayIntroMovie("avi/CyanWorlds.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75);
|
IPlayIntroMovie("avi/CyanWorlds.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75);
|
||||||
if (GetDone()) return false;
|
if (GetDone()) return false;
|
||||||
IPatchGlobalAgeFiles();
|
IPatchGlobalAgeFiles();
|
||||||
|
@ -341,7 +341,6 @@ int plNetClientMgr::Init()
|
|||||||
|
|
||||||
VaultInitialize();
|
VaultInitialize();
|
||||||
|
|
||||||
RegisterAs( kNetClientMgr_KEY );
|
|
||||||
IAddCloneRoom();
|
IAddCloneRoom();
|
||||||
|
|
||||||
fNetGroups.Reset();
|
fNetGroups.Reset();
|
||||||
|
Reference in New Issue
Block a user