Load the actors, untested but should fix the missing OnCommands for SNEval.
This commit is contained in:
@@ -71,6 +71,7 @@ void ScreenNetEvaluation::RedoUserTexts()
|
|||||||
float cy = THEME->GetMetricF("ScreenNetEvaluation",ssprintf("User%dY",m_iShowSide));
|
float cy = THEME->GetMetricF("ScreenNetEvaluation",ssprintf("User%dY",m_iShowSide));
|
||||||
|
|
||||||
m_iCurrentPlayer = 0;
|
m_iCurrentPlayer = 0;
|
||||||
|
m_textUsers.clear();
|
||||||
m_textUsers.resize(m_iActivePlayers);
|
m_textUsers.resize(m_iActivePlayers);
|
||||||
|
|
||||||
for( int i=0; i<m_iActivePlayers; ++i )
|
for( int i=0; i<m_iActivePlayers; ++i )
|
||||||
@@ -81,6 +82,7 @@ void ScreenNetEvaluation::RedoUserTexts()
|
|||||||
m_textUsers[i].SetXY( cx, cy );
|
m_textUsers[i].SetXY( cx, cy );
|
||||||
|
|
||||||
this->AddChild( &m_textUsers[i] );
|
this->AddChild( &m_textUsers[i] );
|
||||||
|
ActorUtil::LoadAllCommands( m_textUsers[i], m_sName );
|
||||||
cx+=USERDX;
|
cx+=USERDX;
|
||||||
cy+=USERDY;
|
cy+=USERDY;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user