don't try to preload files that we're only going to play once

This commit is contained in:
Glenn Maynard
2003-01-03 03:39:13 +00:00
parent fa0e0a387a
commit adce2f6be1
+2 -2
View File
@@ -191,7 +191,7 @@ void RageSoundManager::PlayOnce( CString sPath )
/* We're responsible for freeing it. */
owned_sounds.insert(snd);
snd->Play();
// snd->Play();
}
void RageSoundManager::PlayOnceFromDir( CString sDir )
@@ -247,7 +247,7 @@ void RageSoundManager::PlayMusic(CString file, bool loop, float start_sec, float
if(music->IsPlaying())
music->StopPlaying();
music->Load( file );
music->Load( file, false );
music->SetStopMode(loop? RageSound::M_LOOP:RageSound::M_STOP);