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

@@ -473,7 +473,7 @@ HRESULT CScene_Leaderboards::OnKeyDown(XUIMessageInput* pInputData, BOOL& bHandl
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