* [ScreenSelectMaster] Now updates choices on player join; will move the scroller to the correct location, but the GainFocus/LoseFocus commands don't seem to work yet.

This commit is contained in:
AJ Kelly
2012-03-07 22:39:26 -06:00
parent b979709f50
commit d1ac4b5fa0
3 changed files with 18 additions and 1 deletions
+10
View File
@@ -334,6 +334,16 @@ void ScreenSelectMaster::HandleScreenMessage( const ScreenMessage SM )
}
}
void ScreenSelectMaster::HandleMessage( const Message &msg )
{
if ( msg == Message_PlayerJoined )
{
UpdateSelectableChoices();
}
ScreenSelect::HandleMessage( msg );
}
int ScreenSelectMaster::GetSelectionIndex( PlayerNumber pn )
{
return m_iChoice[pn];