fix: fixed Xbox 360 build issues
This commit is contained in:
@@ -367,7 +367,7 @@ void CXuiSceneBase::_TickAllBaseScenes()
|
||||
}
|
||||
|
||||
m_pBossHealthProgress[i].SetRange(0, boss->getMaxHealth() );
|
||||
m_pBossHealthProgress[i].SetValue( boss->getSynchedHealth() );
|
||||
m_pBossHealthProgress[i].SetValue( boss->getHealth() );
|
||||
m_bossHealthVisible[i] = TRUE;
|
||||
|
||||
_UpdateSelectedItemPos(i);
|
||||
@@ -864,7 +864,7 @@ HRESULT CXuiSceneBase::_ShowBackground( unsigned int iPad, BOOL bShow )
|
||||
// are we in the Nether? - Leave the time as 0 if we are, so we show daylight
|
||||
if(pMinecraft->level->dimension->id==0)
|
||||
{
|
||||
i64TimeOfDay = pMinecraft->level->getLevelData()->getTime() % 24000;
|
||||
i64TimeOfDay = pMinecraft->level->getLevelData()->getGameTime() % 24000;
|
||||
}
|
||||
|
||||
if(i64TimeOfDay>14000)
|
||||
@@ -1915,7 +1915,7 @@ HRESULT CXuiSceneBase::ShowSafeArea( BOOL bShow )
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CXuiSceneBase::SetTooltips( unsigned int iPad, int iA, int iB, int iX, int iY , int iLT, int iRT, int iRB, int iLB, int iLS, bool forceUpdate /*= false*/ )
|
||||
HRESULT CXuiSceneBase::SetTooltips( unsigned int iPad, int iA, int iB, int iX, int iY , int iLT, int iRT, int iRB, int iLB, int iLS, int iRS, int iBack, bool forceUpdate /*= false*/ )
|
||||
{
|
||||
if( CXuiSceneBase::Instance != NULL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user