aboutsummaryrefslogtreecommitdiff
path: root/path_functions.cpp
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2018-11-16 02:37:57 +0100
committerDavid Skoland <davidskoland@gmail.com>2018-11-16 02:37:57 +0100
commitee4b9acfeb1a860cf67957548c544ff893ce71bb (patch)
treec9f3ab70d7a97d411bbf2d3316b3e228c796d8ce /path_functions.cpp
parent727c39a1df42a5aba8a9c863ee2f05169d204ffa (diff)
fixed get_sounds_path as well + nuked the last unneccessary tolower calls
Diffstat (limited to 'path_functions.cpp')
-rw-r--r--path_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/path_functions.cpp b/path_functions.cpp
index f066102d..4d7e246c 100644
--- a/path_functions.cpp
+++ b/path_functions.cpp
@@ -86,9 +86,9 @@ QString AOApplication::get_character_emotions_path(QString p_character, QString
#endif
}
-QString AOApplication::get_sounds_path()
+QString AOApplication::get_sounds_path(QString p_file)
{
- QString path = get_base_path() + "sounds/general/";
+ QString path = get_base_path() + "sounds/general/" + p_file;
#ifndef CASE_SENSITIVE_FILESYSTEM
return path;
#else