aboutsummaryrefslogtreecommitdiff
path: root/aosfxplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aosfxplayer.cpp')
-rw-r--r--aosfxplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aosfxplayer.cpp b/aosfxplayer.cpp
index cc2f383..03a3ac5 100644
--- a/aosfxplayer.cpp
+++ b/aosfxplayer.cpp
@@ -19,7 +19,7 @@ void AOSfxPlayer::play(QString p_sfx, QString p_char)
p_sfx = p_sfx.toLower();
QString f_path;
if (p_char != "")
- f_path = ao_app->get_character_path(p_char) + p_sfx;
+ f_path = ao_app->get_character_path(p_char, p_sfx);
else
f_path = ao_app->get_sounds_path() + p_sfx;