From 2a60e342597ee42fdc9e84f0a54c25c9e5714c3e Mon Sep 17 00:00:00 2001 From: KJeff01 Date: Sat, 13 Apr 2024 23:10:00 -0500 Subject: [PATCH] Add sounds for quick chat --- src/hci/quickchat.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hci/quickchat.cpp b/src/hci/quickchat.cpp index 2a12a5f6eb4..5627e81a7f9 100644 --- a/src/hci/quickchat.cpp +++ b/src/hci/quickchat.cpp @@ -22,6 +22,8 @@ #include "lib/framework/frame.h" #include "lib/framework/math_ext.h" #include "lib/framework/wztime.h" +#include "lib/sound/audio.h" +#include "lib/sound/audio_id.h" #include "quickchat.h" #include "teamstrategy.h" #include "lib/widget/widgint.h" @@ -3060,10 +3062,12 @@ bool recvQuickChat(NETQUEUE queue) if (isInGame) { addQuickChatMessageToConsole(msgEnumVal, sender, targeting); + audio_PlayTrack(ID_SOUND_MESSAGEEND); } else { addLobbyQuickChatMessageToConsole(msgEnumVal, sender, targeting); + audio_PlayTrack(FE_AUDIO_MESSAGEEND); } } else