forked from cafeberry/cafeberry
Merge remote-tracking branch 'origin/main' into networking
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
#include "..\..\Xbox\Network\NetworkPlayerXbox.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WINDOWS64
|
||||
#include "..\..\Windows64\Windows64_Minecraft.h"
|
||||
#endif
|
||||
|
||||
#ifdef _DURANGO
|
||||
#include "..\Minecraft.World\DurangoStats.h"
|
||||
#endif
|
||||
@@ -932,11 +936,11 @@ int CGameNetworkManager::RunNetworkGameThreadProc( void* lpParameter )
|
||||
if( !success)
|
||||
{
|
||||
TexturePack *tPack = Minecraft::GetInstance()->skins->getSelected();
|
||||
while ( tPack->isLoadingData() || (Minecraft::GetInstance()->skins->needsUIUpdate() || ui.IsReloadingSkin()) )
|
||||
while ( tPack->isLoadingData() || (Minecraft::GetInstance()->skins->needsUIUpdate() || ui.IsReloadingSkins()) )
|
||||
{
|
||||
Sleep(0);
|
||||
}
|
||||
ui.CleanUpSkinReload();
|
||||
ui.CleanUpSkinsReload();
|
||||
if(app.GetDisconnectReason() == DisconnectPacket::eDisconnect_None)
|
||||
{
|
||||
app.SetDisconnectReason( DisconnectPacket::eDisconnect_ConnectionCreationFailed );
|
||||
@@ -969,7 +973,7 @@ int CGameNetworkManager::ServerThreadProc( void* lpParameter )
|
||||
// 4J Stu - If we are loading a DLC save that's separate from the texture pack, load
|
||||
if( param->levelGen != NULL && (param->texturePackId == 0 || param->levelGen->getRequiredTexturePackId() != param->texturePackId) )
|
||||
{
|
||||
while((Minecraft::GetInstance()->skins->needsUIUpdate() || ui.IsReloadingSkin()))
|
||||
while((Minecraft::GetInstance()->skins->needsUIUpdate() || ui.IsReloadingSkins()))
|
||||
{
|
||||
Sleep(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user