fix "style icon shows P1 even if P2 is the only player"

This commit is contained in:
Chris Danford
2004-08-11 03:58:25 +00:00
parent 2fe7dc9095
commit d7953ded5c
+1
View File
@@ -42,6 +42,7 @@ ScreenWithMenuElements::ScreenWithMenuElements( CString sClassName ) : Screen( s
m_sprStyleIcon.SetName( "StyleIcon" );
m_sprStyleIcon.Load( THEME->GetPathToG(sIconFileName) );
m_sprStyleIcon.StopAnimating();
m_sprStyleIcon.SetState( GAMESTATE->m_MasterPlayerNumber );
UtilSetXY( m_sprStyleIcon, m_sName );
UtilOnCommand( m_sprStyleIcon, m_sName );
this->AddChild( &m_sprStyleIcon );