This commit is contained in:
Paul 2001-07-13 22:21:21 +00:00
parent b491c4c10b
commit 45369125bf
3 changed files with 14 additions and 1 deletions

View File

@ -341,7 +341,7 @@ PAUL_DBGMSG("LETS TRY AGAIN!");
m_continueFontOffset-=move;
if(m_continueFontOffset<0)
{
if(m_state==STATE__SPEECH_BEFORE_EXITING_TO_GAME)
if(m_state==STATE__SPEECH_BEFORE_EXITING_TO_GAME&&!CSoundMediator::isSpeechPlaying())
{
m_readyToExit=true;
CFader::setFadingOut();

View File

@ -718,6 +718,18 @@ void CSoundMediator::stopSpeech()
}
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
int CSoundMediator::isSpeechPlaying()
{
return CXAStream::IsPlaying();
}
/*----------------------------------------------------------------------
Function:
Purpose:

View File

@ -211,6 +211,7 @@ public:
// Speech interface
static void playSpeech(SpeechEquate _speech);
static void stopSpeech();
static int isSpeechPlaying();
// Control
static void setVolume(VOLUMETYPE _type,int _val);