Unit lost vox audio now plays.

This commit is contained in:
Justin Marshall
2020-07-16 21:25:19 -07:00
parent 268f6592d2
commit c48fc9723a
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -388,9 +388,9 @@ void On_Sound_Effect(int sound_index, int variation, COORDINATE coord, int house
// void On_Speech(int speech_index) // MBL 02.06.2020
void On_Speech(int speech_index, HouseClass* house)
{
if (house == NULL) {
//if (house == NULL) {
PlayAudio(speechPrecacheAudioTable[speech_index], true);
}
//}
// DLLExportClass::On_Speech(PlayerPtr, speech_index); // MBL 02.06.2020
//if (house == NULL) {
+1 -2
View File
@@ -1909,8 +1909,7 @@ void FootClass::Death_Announcement(TechnoClass const * ) const
{
assert(IsActive);
//if (IsOwnedByPlayer) {
if ((Session.Type == GAME_GLYPHX_MULTIPLAYER && House->IsHuman) || (Session.Type != GAME_GLYPHX_MULTIPLAYER && IsOwnedByPlayer)) {
if (IsOwnedByPlayer) {
if (What_Am_I() == RTTI_VESSEL) {
// Speak(VOX_SHIP_LOST); // MBL 02.06.2020
Speak(VOX_SHIP_LOST, House, Center_Coord());