This commit is contained in:
parent
c91a1a959f
commit
010bdaa1f9
2 changed files with 9 additions and 0 deletions
|
@ -90,6 +90,9 @@ void CPlayerModeDead::enter()
|
||||||
m_player->setAnimNo(deathAnim);
|
m_player->setAnimNo(deathAnim);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CSoundMediator::stopSpeech();
|
||||||
|
|
||||||
|
|
||||||
m_killed=false;
|
m_killed=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -442,6 +442,12 @@ if(_frames==0)_frames=1;
|
||||||
s_volumeDirty[VOL_SPEECH]=true;
|
s_volumeDirty[VOL_SPEECH]=true;
|
||||||
s_volumeDirty[VOL_FADE]=false;
|
s_volumeDirty[VOL_FADE]=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isSpeechPlaying())
|
||||||
|
{
|
||||||
|
s_volumeDirty[VOL_SONG]=true;
|
||||||
|
s_currentVolume[VOL_FADE]=128;
|
||||||
|
}
|
||||||
if(s_volumeDirty[VOL_SONG])
|
if(s_volumeDirty[VOL_SONG])
|
||||||
{
|
{
|
||||||
s_xmplaySound->setMasterSongVolume((s_currentVolume[VOL_SONG]*s_currentVolume[VOL_FADE])>>8);
|
s_xmplaySound->setMasterSongVolume((s_currentVolume[VOL_SONG]*s_currentVolume[VOL_FADE])>>8);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue