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
+4 -4
View File
@@ -79,14 +79,14 @@ EditMenu::EditMenu()
m_SongTextBanner.SetXY( SONG_TEXT_BANNER_X, SONG_TEXT_BANNER_Y );
this->AddChild( &m_SongTextBanner );
m_Meter.SetName( "EditDifficultyMeter", "DifficultyMeter" );
m_Meter.SetName( "DifficultyMeter" );
m_Meter.SetXY( METER_X, METER_Y );
m_Meter.Load();
m_Meter.Load( "EditDifficultyMeter" );
this->AddChild( &m_Meter );
m_SourceMeter.SetName( "EditDifficultyMeter", "DifficultyMeter" );
m_SourceMeter.SetName( "DifficultyMeter" );
m_SourceMeter.SetXY( SOURCE_METER_X, SOURCE_METER_Y );
m_SourceMeter.Load();
m_SourceMeter.Load( "EditDifficultyMeter" );
this->AddChild( &m_SourceMeter );