aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2021-04-22 19:09:44 +0300
committerCrystalwarrior <varsash@gmail.com>2021-04-22 19:09:44 +0300
commitd3e5cb933cd91d5393943ab3385bac0fc233cdc9 (patch)
treefe478615e434559e4a16afd0cb526b26515ff6b6
parentd2c0c4fa0dfdef2534fcc0826f8c36bc4568a631 (diff)
Charlayer - only check for direct path after the previous checks fail but before missingno
-rw-r--r--src/aolayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aolayer.cpp b/src/aolayer.cpp
index ccf2d633..795274f5 100644
--- a/src/aolayer.cpp
+++ b/src/aolayer.cpp
@@ -197,7 +197,6 @@ void CharLayer::load_image(QString p_filename, QString p_charname,
<< " continuous: " << continuous;
#endif
QStringList pathlist = {
- current_emote, // The path by itself
ao_app->get_character_path(
p_charname, prefix + current_emote), // Default path
ao_app->get_character_path(
@@ -207,6 +206,7 @@ void CharLayer::load_image(QString p_filename, QString p_charname,
ao_app->get_character_path(
p_charname,
current_emote), // Just use the non-prefixed image, animated or not
+ current_emote, // The path by itself after the above fail
ao_app->get_theme_path("placeholder"), // Theme placeholder path
ao_app->get_theme_path(
"placeholder", ao_app->default_theme)}; // Default theme placeholder path