mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
GUI: Split gui to interface, potentially new ui interface is possible
This commit is contained in:
@@ -135,13 +135,13 @@ void SurvivalMode::render(float f)
|
||||
{
|
||||
if (m_destroyProgress <= 0.0f)
|
||||
{
|
||||
m_pMinecraft->m_gui.field_8 = 0.0f;
|
||||
m_pMinecraft->m_breakProgress = 0.0f;
|
||||
m_pMinecraft->m_pLevelRenderer->field_10 = 0.0f;
|
||||
}
|
||||
else
|
||||
{
|
||||
float x = m_lastDestroyProgress + (m_destroyProgress - m_lastDestroyProgress) * f;
|
||||
m_pMinecraft->m_gui.field_8 = x;
|
||||
m_pMinecraft->m_breakProgress = x;
|
||||
m_pMinecraft->m_pLevelRenderer->field_10 = x;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user