mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 07:05:13 +00:00
Remove WinAPI locals from XUI scenes
This commit is contained in:
@@ -326,7 +326,7 @@ HRESULT CScene_HelpAndOptions::OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHa
|
||||
|
||||
case VK_PAD_B:
|
||||
case VK_ESCAPE:
|
||||
BYTE userIndex = pInputData->UserIndex;
|
||||
int userIndex = pInputData->UserIndex;
|
||||
if( !app.IsPauseMenuDisplayed(userIndex) )
|
||||
{
|
||||
// If we are not from a pause menu, then we are from the main menu
|
||||
@@ -459,4 +459,4 @@ HRESULT CScene_HelpAndOptions::OnCustomMessage_Splitscreenplayer(bool bJoining,
|
||||
{
|
||||
bHandled=true;
|
||||
return app.AdjustSplitscreenScene_PlayerChanged(m_hObj,&m_OriginalPosition,m_iPad,bJoining,false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user