1
0
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:
2015-07-31 16:07:03 -04:00
parent e1befa63f9
commit e48a98bcf4
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -341,7 +341,6 @@ int plNetClientMgr::Init()
VaultInitialize(); VaultInitialize();
RegisterAs( kNetClientMgr_KEY );
IAddCloneRoom(); IAddCloneRoom();
fNetGroups.Reset(); fNetGroups.Reset();