Remove WinAPI locals from XUI scenes

This commit is contained in:
notmatthewbeshay
2026-03-14 07:30:04 +11:00
parent b6d3c0c6ee
commit ce4cb8ea70
5 changed files with 6 additions and 9 deletions

View File

@@ -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);
}
}