don't use Name/ID to load DifficultyMeter. We only need the Name at load time, so pass it into Load and don't save it in the Actor.

This commit is contained in:
Chris Danford
2005-02-23 20:40:46 +00:00
parent b45d0ddff3
commit 555d5aa2fe
8 changed files with 58 additions and 34 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ void DifficultyList::Load()
for( unsigned m = 0; m < m_Lines.size(); ++m )
{
m_Lines[m].m_Meter.SetName( "DifficultySummaryRow", "Row" );
m_Lines[m].m_Meter.Load();
m_Lines[m].m_Meter.SetName( "Row" );
m_Lines[m].m_Meter.Load( "DifficultySummaryRow" );
this->AddChild( &m_Lines[m].m_Meter );
m_Lines[m].m_Description.SetName( "Description" );