mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
arm64 : fix vgui2 VPAMEL in messagemap
This commit is contained in:
@@ -633,7 +633,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
MESSAGE_FUNC_INT( OnCursorEnteredMenuItem, "CursorEnteredMenuItem", VPanel);
|
||||
MESSAGE_FUNC_HANDLE( OnCursorEnteredMenuItem, "CursorEnteredMenuItem", menuItem);
|
||||
|
||||
private:
|
||||
CFooterPanel *m_pConsoleFooter;
|
||||
@@ -644,9 +644,8 @@ private:
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Respond to cursor entering a menuItem.
|
||||
//-----------------------------------------------------------------------------
|
||||
void CGameMenu::OnCursorEnteredMenuItem(int VPanel)
|
||||
void CGameMenu::OnCursorEnteredMenuItem(VPANEL menuItem)
|
||||
{
|
||||
VPANEL menuItem = (VPANEL)VPanel;
|
||||
MenuItem *item = static_cast<MenuItem *>(ipanel()->GetPanel(menuItem, GetModuleName()));
|
||||
KeyValues *pCommand = item->GetCommand();
|
||||
if ( !pCommand->GetFirstSubKey() )
|
||||
@@ -655,7 +654,7 @@ void CGameMenu::OnCursorEnteredMenuItem(int VPanel)
|
||||
if ( !pszCmd || !pszCmd[0] )
|
||||
return;
|
||||
|
||||
BaseClass::OnCursorEnteredMenuItem( VPanel );
|
||||
BaseClass::OnCursorEnteredMenuItem( menuItem );
|
||||
}
|
||||
|
||||
static CBackgroundMenuButton* CreateMenuButton( CBasePanel *parent, const char *panelName, const wchar_t *panelText )
|
||||
|
||||
Reference in New Issue
Block a user