mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-08-20 09:57:09 +00:00
Update XUI_InGamePlayerOptions.cpp
This commit is contained in:
parent
761c368526
commit
019fd47b0a
|
|
@ -11,9 +11,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
|
||||||
// Performs initialization tasks - retrieves controls.
|
// Performs initialization tasks - retrieves controls.
|
||||||
//----------------------------------------------------------------------------------
|
|
||||||
HRESULT CScene_InGamePlayerOptions::OnInit( XUIMessageInit* pInitData, BOOL& bHandled )
|
HRESULT CScene_InGamePlayerOptions::OnInit( XUIMessageInit* pInitData, BOOL& bHandled )
|
||||||
{
|
{
|
||||||
m_iPad = *(int *)pInitData->pvInitData;
|
m_iPad = *(int *)pInitData->pvInitData;
|
||||||
|
|
@ -496,4 +494,4 @@ void CScene_InGamePlayerOptions::resetCheatCheckboxes()
|
||||||
m_checkboxes[eControl_CheatTeleport].SetCheck( isModerator
|
m_checkboxes[eControl_CheatTeleport].SetCheck( isModerator
|
||||||
&& (Player::getPlayerGamePrivilege(m_playerPrivileges, Player::ePlayerGamePrivilege_CanTeleport) != 0) );
|
&& (Player::getPlayerGamePrivilege(m_playerPrivileges, Player::ePlayerGamePrivilege_CanTeleport) != 0) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue