mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 12:33:36 +00:00
fix UIScene_HUD, UIScene_InGameInfoMenu
This commit is contained in:
parent
3b77d6d806
commit
be76c9cdb3
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue