From 18a9bcfe19637bfa227bcd2dc7fa34966b5f4ca5 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Mon, 24 Aug 2020 20:22:13 +0300 Subject: [PATCH] Remove the ".png" check from the load_image lookup to allow non-(a) and (b) images being used for static characters --- src/aocharmovie.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aocharmovie.cpp b/src/aocharmovie.cpp index 252aab5..2fe90b6 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(