remove RageSoundManager::PlaySound

This commit is contained in:
Glenn Maynard
2007-01-18 08:34:52 +00:00
parent 4eb20f1e79
commit 32a9a47f87
3 changed files with 11 additions and 17 deletions
+11 -2
View File
@@ -412,10 +412,19 @@ void RageSound::Play( const RageSoundParams *pParams )
if( m_pSource == NULL )
{
LOG->Warn( "RageSound::Play: sound not loaded" );
return NULL;
return;
}
SOUNDMAN->PlaySound( *this, pParams );
if( IsPlaying() )
{
SOUNDMAN->PlayCopyOfSound( *this, pParams );
return;
}
if( pParams )
SetParams( *pParams );
StartPlaying();
}
void RageSound::Stop()