diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2020-07-04 20:15:19 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-04 12:15:19 -0500 |
| commit | c533370fd8a939721af41e566fc28c854d616b09 (patch) | |
| tree | 3797caa0e453fffa362303635ca7ac798dede03c /src/text_file_functions.cpp | |
| parent | 0a31a20266adcbd9afd6ef54abe4123f5f1708a3 (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.cpp | 2 |
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)))) |
