use RageSound::PlayCopy

This commit is contained in:
Glenn Maynard
2007-01-18 08:43:26 +00:00
parent e2d9d65065
commit 2387a4e662
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -3,7 +3,6 @@
#include "RageSound.h"
#include "RageUtil.h"
#include "RageLog.h"
#include "RageSoundManager.h"
RandomSample::RandomSample()
@@ -114,7 +113,7 @@ void RandomSample::PlayCopyOfRandom()
int iIndexToPlay = GetNextToPlay();
if( iIndexToPlay == -1 )
return;
SOUNDMAN->PlayCopyOfSound( *m_pSamples[iIndexToPlay] );
m_pSamples[m_iIndexLastPlayed]->Stop();
}
void RandomSample::Stop()