diff options
| author | Crystalwarrior <varsash@gmail.com> | 2020-08-24 20:22:13 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2020-08-24 20:22:13 +0300 |
| commit | 18a9bcfe19637bfa227bcd2dc7fa34966b5f4ca5 (patch) | |
| tree | f8de5e02287b6d1b44b029a1c77f3c4a312dc958 | |
| parent | 2c6a690d47ca0c48bef84b3d28d58064365a9934 (diff) | |
Remove the ".png" check from the load_image lookup to allow non-(a) and (b) images being used for static characters
| -rw-r--r-- | src/aocharmovie.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aocharmovie.cpp b/src/aocharmovie.cpp index 252aab5d..2fe90b64 100644 --- a/src/aocharmovie.cpp +++ b/src/aocharmovie.cpp @@ -35,8 +35,8 @@ void AOCharMovie::load_image(QString p_char, QString p_emote, ao_app->get_image_suffix(ao_app->get_character_path( p_char, emote_prefix + "/" + p_emote)), // Path check if it's categorized into a folder - ao_app->get_character_path( - p_char, p_emote + ".png"), // Non-animated path if emote_prefix fails + ao_app->get_image_suffix(ao_app->get_character_path( + p_char, p_emote)), // Just use the non-prefixed image, animated or not ao_app->get_image_suffix( ao_app->get_theme_path("placeholder")), // Theme placeholder path ao_app->get_image_suffix(ao_app->get_default_theme_path( |
