From ca82454d74c27f496666a76ef2c96528375d8b92 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sat, 25 Aug 2012 14:08:35 +0200 Subject: TONY: Reset _hEndOfBuffer when restarting sounds. --- engines/tony/sound.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/tony/sound.cpp b/engines/tony/sound.cpp index 87e142df48..8ea7aa03c3 100644 --- a/engines/tony/sound.cpp +++ b/engines/tony/sound.cpp @@ -261,9 +261,7 @@ bool FPSfx::play() { stop(); // sanity check if (_bFileLoaded) { - // FIXME - //if (hEndOfBuffer != CORO_INVALID_PID_VALUE) - // ResetEvent(hEndOfBuffer); + CoroScheduler.resetEvent(_hEndOfBuffer); _rewindableStream->rewind(); -- cgit v1.2.3