fix UIScene_HUD, UIScene_InGameInfoMenu
This commit is contained in:
1 parent
3b77d6d806
commit
be76c9cdb3
2 files changed
+2
-5
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#include "../../Minecraft.World/Platform/stdafx.h"
|
||||
#include "UI.h"
|
||||
#include "UIScene_HUD.h"
|
||||
#include "../../Minecraft.Client/UI/BossMobGuiInfo.h"
|
||||
#include "../../Minecraft.Client/Minecraft.h"
|
||||
#include "../../Minecraft.Client/Player/MultiPlayerLocalPlayer.h"
|
||||
#include "../../Minecraft.World/Headers/net.minecraft.world.entity.boss.enderdragon.h"
|
||||
|
||||
@@ -171,12 +171,8 @@ void UIScene_InGameInfoMenu::handleReload() {
|
||||
INetworkPlayer* player = g_NetworkManager.GetPlayerByIndex(i);
|
||||
|
||||
if (player != NULL) {
|
||||
m_players[i] = player->GetSmallId();
|
||||
++m_playersCount;
|
||||
PlayerInfo* info = BuildPlayerInfo(player);
|
||||
|
||||
std::wstring playerName = L"";
|
||||
if (app.DebugSettingsOn() &&
|
||||
(1L << eDebugSetting_DebugLeaderboards))) {
|
||||
m_players.push_back(info);
|
||||
m_playerList.addItem(info->m_name, info->m_colorState,
|
||||
info->m_voiceStatus);
|
||||
|
||||
Reference in new issue
Block a user