Fixed an issue with overlapping SFXes.

The `BASS_ChannelStop()` line existed in 2.4.10, but disappeared in 2.6.
This fixes #50 .
This commit is contained in:
Cerapter 2018-12-19 22:28:49 +01:00
parent ce350da473
commit 6f1bce5882

View File

@ -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);