fix OnCommand run twice (m_Scroller propagates it)

This commit is contained in:
Glenn Maynard
2005-12-07 05:08:49 +00:00
parent 4dfdeaacf2
commit aeb830f434
-1
View File
@@ -792,7 +792,6 @@ void ScreenSelectMaster::TweenOnScreen()
{
m_vsprScroll[*p][c]->PlayCommand( int(c) == m_iChoice[*p]? "GainFocus":"LoseFocus" );
m_vsprScroll[*p][c]->FinishTweening();
ON_COMMAND( m_vsprScroll[*p][c] );
}
m_Scroller[*p].SetCurrentAndDestinationItem( (float)m_iChoice[*p] );