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)
This commit is contained in:
parent
0a31a20266
commit
c533370fd8
@ -601,7 +601,7 @@ QString AOApplication::get_gender(QString p_char)
|
|||||||
QString f_result = read_char_ini(p_char, "gender", "Options");
|
QString f_result = read_char_ini(p_char, "gender", "Options");
|
||||||
|
|
||||||
if (f_result == "")
|
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(f_result)))) {
|
||||||
if (file_exists(get_sfx_suffix(get_sounds_path("../blips/" + f_result))))
|
if (file_exists(get_sfx_suffix(get_sounds_path("../blips/" + f_result))))
|
||||||
|
Loading…
Reference in New Issue
Block a user