aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aosfxplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/aosfxplayer.cpp b/aosfxplayer.cpp
index 90e458e..7fe7987 100644
--- a/aosfxplayer.cpp
+++ b/aosfxplayer.cpp
@@ -9,6 +9,8 @@ AOSfxPlayer::AOSfxPlayer(QWidget *parent, AOApplication *p_ao_app)
void AOSfxPlayer::play(QString p_sfx, QString p_char, QString shout)
{
+ BASS_ChannelStop(m_stream);
+
QString misc_path = "";
QString char_path = "";
QString sound_path = ao_app->get_sounds_path(p_sfx);