summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guildchattab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/guildchattab.cpp')
-rw-r--r--src/gui/widgets/guildchattab.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/guildchattab.cpp b/src/gui/widgets/guildchattab.cpp
index a95fca3cf..bad34cfb3 100644
--- a/src/gui/widgets/guildchattab.cpp
+++ b/src/gui/widgets/guildchattab.cpp
@@ -27,6 +27,7 @@
#include "guild.h"
#include "guildmanager.h"
#include "localplayer.h"
+#include "sound.h"
#include "gui/theme.h"
@@ -126,3 +127,8 @@ void GuildChatTab::saveToLogFile(std::string &msg)
if (chatLogger)
chatLogger->log("#Guild", msg);
}
+
+void GuildChatTab::playNewMessageSound()
+{
+ sound.playGuiSound(SOUND_GUILD);
+}