Skip to content

Commit 3c060f7

Browse files
committed
Update MenuBar.cpp
1 parent 71bab9d commit 3c060f7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/vgui2/vgui_controls/MenuBar.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,15 @@ void MenuBar::OnMenuClose()
224224
#ifdef BDSBASE
225225
#ifdef PLATFORM_64BITS
226226
void MenuBar::OnCursorEnteredMenuButton(vgui::Panel* VPanel)
227-
{
228-
VPANEL menuButton = (VPANEL)VPanel;
229227
#else
230228
void MenuBar::OnCursorEnteredMenuButton(int VPanel)
231-
{
232-
VPANEL menuButton = (VPANEL)VPanel;
233229
#endif
234230
#else
235231
void MenuBar::OnCursorEnteredMenuButton(int VPanel)
232+
#endif
236233
{
237234
VPANEL menuButton = (VPANEL)VPanel;
238-
#endif
235+
239236
// see if we had a menu open
240237
for ( int i = 0; i < m_pMenuButtons.Count(); i++)
241238
{

0 commit comments

Comments
 (0)