diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2019-01-03 21:45:58 -0600 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2019-01-03 21:45:58 -0600 |
| commit | 6716a4532ea6b29d7204813415e5089e6ddd1e6f (patch) | |
| tree | bcb3f9a2d0604aefc32d7c945d30dd4d889de7a0 | |
| parent | 9de145272bb3e6e4f54a87037d2657c5dad9e466 (diff) | |
Fix APNG preanimations not working (#52)
| -rw-r--r-- | src/text_file_functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index fcb8df2c..0af96f18 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -369,10 +369,10 @@ QString AOApplication::get_sfx_suffix(QString sound_to_check) QString AOApplication::get_image_suffix(QString path_to_check) { - QString apng_check = get_sounds_path(path_to_check + ".apng"); + QString apng_check = path_to_check + ".apng"; if (file_exists(apng_check)) { - return path_to_check + ".apng"; + return apng_check; } return path_to_check + ".gif"; } |
