From d8d7e4f2ba2329483579eb0e1ee716c339d7788d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 29 Sep 2003 20:52:51 +0000 Subject: [PATCH] Fix wrong sounds stopping wiht WaveOut driver --- stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp b/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp index 2d8a1e07ca..31cf551f1b 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp @@ -126,9 +126,9 @@ void RageSound_WaveOut::Update(float delta) vector snds = sounds; for(unsigned i = 0; i < snds.size(); ++i) { - if(!sounds[i]->stopping) continue; + if(!snds[i]->stopping) continue; - if(GetPosition(snds[i]->snd) < sounds[i]->flush_pos) + if(GetPosition(snds[i]->snd) < snds[i]->flush_pos) continue; /* stopping but still flushing */ /* This sound is done. */