position scroller items so that the items' will start from their resting position when they execute their OnCommand.

This commit is contained in:
Chris Danford
2005-09-03 04:50:49 +00:00
parent f8548a4ac6
commit ae0e385c10
+8
View File
@@ -149,11 +149,19 @@ void ScreenSelectMaster::Init()
m_sprScroll[c][*p]->SetName( sElement );
m_Scroller[*p].AddChild( m_sprScroll[c][*p] );
}
}
LUA->UnsetGlobal( "ThisGameCommand" );
}
// position scroller items so that the items' will start from their resting
// position when they execute their OnCommand.
if( SHOW_SCROLLER )
{
FOREACH( PlayerNumber, vpns, p )
m_Scroller[*p].PositionItems();
}
for( int page=0; page<NUM_PAGES; page++ )
{