mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Unit lost vox audio now plays.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user