diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 3c723cbecf..5e4357b9c4 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -407,7 +407,7 @@ void RageSound::SoundIsFinishedPlaying() m_Mutex.Unlock(); } -RageSound *RageSound::Play( const RageSoundParams *pParams ) +void RageSound::Play( const RageSoundParams *pParams ) { if( m_pSource == NULL ) { @@ -415,7 +415,7 @@ RageSound *RageSound::Play( const RageSoundParams *pParams ) return NULL; } - return SOUNDMAN->PlaySound( *this, pParams ); + SOUNDMAN->PlaySound( *this, pParams ); } void RageSound::Stop() diff --git a/stepmania/src/RageSound.h b/stepmania/src/RageSound.h index c2e27c7de0..86a27f967e 100644 --- a/stepmania/src/RageSound.h +++ b/stepmania/src/RageSound.h @@ -123,7 +123,7 @@ public: RString GetError() const { return m_sError; } - RageSound *Play( const RageSoundParams *params=NULL ); + void Play( const RageSoundParams *params=NULL ); void Stop(); /* Cleanly pause or unpause the sound. If the sound wasn't already playing,