aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2020-07-04 20:15:19 +0300
committerGitHub <noreply@github.com>2020-07-04 12:15:19 -0500
commitc533370fd8a939721af41e566fc28c854d616b09 (patch)
tree3797caa0e453fffa362303635ca7ac798dede03c /src/text_file_functions.cpp
parent0a31a20266adcbd9afd6ef54abe4123f5f1708a3 (diff)
Fix the blips folder not seeking the blips/ folder for the male.wav sound effect first instead of trying to find sfx-blipmale in base/general folder, makes using the blips folder more viable. (#173)
Diffstat (limited to 'src/text_file_functions.cpp')
-rw-r--r--src/text_file_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index 8f868401..122bc412 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -601,7 +601,7 @@ QString AOApplication::get_gender(QString p_char)
QString f_result = read_char_ini(p_char, "gender", "Options");
if (f_result == "")
- return "sfx-blipmale";
+ f_result = "male";
if (!file_exists(get_sfx_suffix(get_sounds_path(f_result)))) {
if (file_exists(get_sfx_suffix(get_sounds_path("../blips/" + f_result))))