SetName before calling Load()

This commit is contained in:
Josh Allen
2006-08-13 22:22:44 +00:00
parent ea7297dde5
commit c0df236306
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -17,9 +17,10 @@ RoomWheel::~RoomWheel()
void RoomWheel::Load( RString sType )
{
SetName( sType );
WheelBase::Load( sType );
SetName( sType );
m_offset = 0;
LOG->Trace( "RoomWheel::Load('%s')", sType.c_str() );
+1 -1
View File
@@ -73,8 +73,8 @@ void ScreenNetSelectMusic::Init()
this->AddChild( &m_DifficultyMeters[p] );
}
m_MusicWheel.Load( "MusicWheel" );
m_MusicWheel.SetName( "MusicWheel" );
m_MusicWheel.Load( "MusicWheel" );
SET_XY( m_MusicWheel );
m_MusicWheel.BeginScreen();
ON_COMMAND( m_MusicWheel );