This commit is contained in:
Daveo 2001-07-26 15:22:34 +00:00
parent c91a1a959f
commit 010bdaa1f9
2 changed files with 9 additions and 0 deletions

View File

@ -90,6 +90,9 @@ void CPlayerModeDead::enter()
m_player->setAnimNo(deathAnim);
}
CSoundMediator::stopSpeech();
m_killed=false;
}

View File

@ -442,6 +442,12 @@ if(_frames==0)_frames=1;
s_volumeDirty[VOL_SPEECH]=true;
s_volumeDirty[VOL_FADE]=false;
}
if (isSpeechPlaying())
{
s_volumeDirty[VOL_SONG]=true;
s_currentVolume[VOL_FADE]=128;
}
if(s_volumeDirty[VOL_SONG])
{
s_xmplaySound->setMasterSongVolume((s_currentVolume[VOL_SONG]*s_currentVolume[VOL_FADE])>>8);