SetName before calling Load()
This commit is contained in:
@@ -17,9 +17,10 @@ RoomWheel::~RoomWheel()
|
|||||||
|
|
||||||
void RoomWheel::Load( RString sType )
|
void RoomWheel::Load( RString sType )
|
||||||
{
|
{
|
||||||
|
SetName( sType );
|
||||||
|
|
||||||
WheelBase::Load( sType );
|
WheelBase::Load( sType );
|
||||||
|
|
||||||
SetName( sType );
|
|
||||||
m_offset = 0;
|
m_offset = 0;
|
||||||
LOG->Trace( "RoomWheel::Load('%s')", sType.c_str() );
|
LOG->Trace( "RoomWheel::Load('%s')", sType.c_str() );
|
||||||
|
|
||||||
|
|||||||
@@ -73,8 +73,8 @@ void ScreenNetSelectMusic::Init()
|
|||||||
this->AddChild( &m_DifficultyMeters[p] );
|
this->AddChild( &m_DifficultyMeters[p] );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_MusicWheel.Load( "MusicWheel" );
|
|
||||||
m_MusicWheel.SetName( "MusicWheel" );
|
m_MusicWheel.SetName( "MusicWheel" );
|
||||||
|
m_MusicWheel.Load( "MusicWheel" );
|
||||||
SET_XY( m_MusicWheel );
|
SET_XY( m_MusicWheel );
|
||||||
m_MusicWheel.BeginScreen();
|
m_MusicWheel.BeginScreen();
|
||||||
ON_COMMAND( m_MusicWheel );
|
ON_COMMAND( m_MusicWheel );
|
||||||
|
|||||||
Reference in New Issue
Block a user