@@ -700,7 +700,7 @@ void CampaignPanel::SetStage( int i )
700700 int bracketx, brackety, bracketw, brackett;
701701 float fFadeTime = 0 .1f ;
702702 float fMediumFadeTime = 0 .5f ;
703- float fBracketTime = 0 .4f ;
703+ const float fBracketTime = 0 .4f ;
704704 float fInitialMapLabelDelay = 2 .5f ;
705705 float fMapLabelInterval = 0 .05f ;
706706 GetMapBounds ( iMapX, iMapY, iMapW, iMapT );
@@ -777,7 +777,6 @@ void CampaignPanel::SetStage( int i )
777777 {
778778 // Msg("CMP_BRACKETING_CONSTELLATION\n");
779779 vgui::GetAnimationController ()->RunAnimationCommand ( m_pBracket, " alpha" , 255 , 0 , fFadeTime , vgui::AnimationController::INTERPOLATOR_LINEAR );
780- float fBracketTime = 0 .4f ;
781780 GetConstellationBracket ( bracketx, brackety, bracketw, brackett );
782781 vgui::GetAnimationController ()->RunAnimationCommand ( m_pBracket, " xpos" , bracketx, 0 , fBracketTime , vgui::AnimationController::INTERPOLATOR_LINEAR );
783782 vgui::GetAnimationController ()->RunAnimationCommand ( m_pBracket, " ypos" , brackety, 0 , fBracketTime , vgui::AnimationController::INTERPOLATOR_LINEAR );
0 commit comments