From 76f10e2299c874881839ac98a946b95c0c29998c Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 9 Oct 2000 22:05:41 +0000 Subject: [PATCH] --- source/paul/paul.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/paul/paul.cpp b/source/paul/paul.cpp index 719ddab8e..6a46647d7 100644 --- a/source/paul/paul.cpp +++ b/source/paul/paul.cpp @@ -129,6 +129,7 @@ void CPaulScene::render() Returns: ---------------------------------------------------------------------- */ int psfx=3; +int pkill=0; #include "sound\speech.h" int mvol=10; int svol=255; @@ -163,13 +164,12 @@ void CPaulScene::think() if(sfxId!=-1) { CSoundMediator::playSfx(sfxId); -// PAUL_DBGMSG("---- sfx %d",sfxId); - //CSoundMediator::playSpeech(speechId); -// CXAStream::Stop(); -// CXAStream::PlaySpeech(speechId,true); -// PAUL_DBGMSG("----- playing speech %d",speechId); + + } + if(pad&PAD_START) + { + CSoundMediator::stopSfx((xmPlayingId)pkill); } -// CXAStream::SetVolume(32700,32700); pad=PadGetHeld(0);