@@ -256,12 +256,12 @@ void CHudMenu::SelectMenuItem( int menu_item )
256256
257257 m_nSelectedItem = menu_item;
258258 // Pulse the selection
259- g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (" MenuPulse" );
259+ g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (this , " MenuPulse" , true , true );
260260
261261 // remove the menu quickly
262262 m_bMenuTakesInput = false ;
263263 m_flShutoffTime = gpGlobals->realtime + m_flOpenCloseTime;
264- g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (" MenuClose" );
264+ g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (this , " MenuClose" , true , true );
265265 }
266266}
267267
@@ -365,7 +365,7 @@ void CHudMenu::HideMenu( void )
365365{
366366 m_bMenuTakesInput = false ;
367367 m_flShutoffTime = gpGlobals->realtime + m_flOpenCloseTime;
368- g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (" MenuClose" );
368+ g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (this , " MenuClose" , true , true );
369369}
370370
371371// -----------------------------------------------------------------------------
@@ -384,7 +384,7 @@ void CHudMenu::ShowMenu( const char * menuName, int validSlots )
384384
385385 Q_strncpy ( g_szPrelocalisedMenuString, menuName, sizeof ( g_szPrelocalisedMenuString ) );
386386
387- g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (" MenuOpen" );
387+ g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (this , " MenuOpen" , true , true );
388388 m_nSelectedItem = -1 ;
389389
390390 // we have the whole string, so we can localise it now
@@ -409,7 +409,7 @@ void CHudMenu::ShowMenu_KeyValueItems( KeyValues *pKV )
409409 m_fWaitingForMore = 0 ;
410410 m_bitsValidSlots = 0 ;
411411
412- g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (" MenuOpen" );
412+ g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (this , " MenuOpen" , true , true );
413413 m_nSelectedItem = -1 ;
414414
415415 g_szMenuString[0 ] = ' \0 ' ;
@@ -489,7 +489,7 @@ void CHudMenu::MsgFunc_ShowMenu( bf_read &msg)
489489
490490 if ( !NeedMore )
491491 {
492- g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (" MenuOpen" );
492+ g_pClientMode->GetViewportAnimationController ()->StartAnimationSequence (this , " MenuOpen" , true , true );
493493 m_nSelectedItem = -1 ;
494494
495495 // we have the whole string, so we can localise it now
0 commit comments