remove unsafe return value
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user