diff --git a/stepmania/src/RoomWheel.cpp b/stepmania/src/RoomWheel.cpp index 48bee7209c..f31fe9cdbb 100644 --- a/stepmania/src/RoomWheel.cpp +++ b/stepmania/src/RoomWheel.cpp @@ -175,11 +175,9 @@ void RoomInfoDisplay::Load( RString sType ) m_state = LOCKED; - m_bg.SetName("Background"); - m_bg.SetWidth( THEME->GetMetricF(sType,"BackgroundWidth") ); - m_bg.SetHeight( THEME->GetMetricF(sType,"BackgroundHeight") ); - ON_COMMAND(&m_bg); - this->AddChild(&m_bg); + m_bg.Load( THEME->GetPathG(m_sName,"Background") ); + m_bg->SetName("Background"); + this->AddChild(m_bg); m_Title.LoadFromFont( THEME->GetPathF(sType,"text") ); m_Title.SetName("RoomTitle"); diff --git a/stepmania/src/RoomWheel.h b/stepmania/src/RoomWheel.h index 9594fb6c61..bd85f7288b 100644 --- a/stepmania/src/RoomWheel.h +++ b/stepmania/src/RoomWheel.h @@ -64,7 +64,7 @@ private: }; RoomInfoDisplayState m_state; - Quad m_bg; + AutoActor m_bg; BitmapText m_Title; BitmapText m_Desc;