diff --git a/stepmania/src/ScreenPrompt.cpp b/stepmania/src/ScreenPrompt.cpp index 65fb973115..1468017464 100644 --- a/stepmania/src/ScreenPrompt.cpp +++ b/stepmania/src/ScreenPrompt.cpp @@ -95,6 +95,8 @@ void ScreenPrompt::Init() m_Out.Load( THEME->GetPathB("ScreenPrompt","out") ); this->AddChild( &m_Out ); + + m_sndChange.Load( THEME->GetPathS("ScreenPrompt","change"), true ); } void ScreenPrompt::Update( float fDeltaTime ) @@ -161,7 +163,7 @@ void ScreenPrompt::Change( int dir ) m_rectAnswerBox.SetXY( m_textAnswer[m_Answer].GetX(), m_textAnswer[m_Answer].GetY() ); m_rectAnswerBox.SetZoomX( m_textAnswer[m_Answer].GetUnzoomedWidth()+10.0f ); - SOUND->PlayOnce( THEME->GetPathS("ScreenPrompt","change") ); + m_sndChange.Play(); } void ScreenPrompt::MenuLeft( PlayerNumber pn ) diff --git a/stepmania/src/ScreenPrompt.h b/stepmania/src/ScreenPrompt.h index 76f0e9dfed..4547b95a41 100644 --- a/stepmania/src/ScreenPrompt.h +++ b/stepmania/src/ScreenPrompt.h @@ -69,6 +69,8 @@ protected: void* m_pCallbackData; Transition m_In; Transition m_Out; + + RageSound m_sndChange; }; #endif