summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-04 01:47:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-04 01:47:16 +0300
commita78b3a34de86d181f845f352b3c4a58e6ff03872 (patch)
tree290e50c00f3abaa197df471111e3a7a45616f22a /src/gui/npcdialog.cpp
parent77cac1e6fd1b6fdf920b09a60ff1e5c60b3c4e84 (diff)
downloadManaVerse-a78b3a34de86d181f845f352b3c4a58e6ff03872.tar.gz
ManaVerse-a78b3a34de86d181f845f352b3c4a58e6ff03872.tar.bz2
ManaVerse-a78b3a34de86d181f845f352b3c4a58e6ff03872.tar.xz
ManaVerse-a78b3a34de86d181f845f352b3c4a58e6ff03872.zip
Fix sounds in npc and quit dialogs.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 4298d8b68..1333842bb 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -25,6 +25,7 @@
#include "being.h"
#include "configuration.h"
#include "client.h"
+#include "sound.h"
#include "gui/gui.h"
#include "gui/sdlfont.h"
@@ -161,6 +162,7 @@ NpcDialog::NpcDialog(const int npcId) :
setVisible(true);
requestFocus();
enableVisibleSound(true);
+ sound.playGuiSound(SOUND_SHOW_WINDOW);
config.addListener("logNpcInGui", this);
}