Skip to content

Commit 18a9bcf

Browse files
Remove the ".png" check from the load_image lookup to allow non-(a) and (b) images being used for static characters
1 parent 2c6a690 commit 18a9bcf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/aocharmovie.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ void AOCharMovie::load_image(QString p_char, QString p_emote,
3535
ao_app->get_image_suffix(ao_app->get_character_path(
3636
p_char, emote_prefix + "/" +
3737
p_emote)), // Path check if it's categorized into a folder
38-
ao_app->get_character_path(
39-
p_char, p_emote + ".png"), // Non-animated path if emote_prefix fails
38+
ao_app->get_image_suffix(ao_app->get_character_path(
39+
p_char, p_emote)), // Just use the non-prefixed image, animated or not
4040
ao_app->get_image_suffix(
4141
ao_app->get_theme_path("placeholder")), // Theme placeholder path
4242
ao_app->get_image_suffix(ao_app->get_default_theme_path(

0 commit comments

Comments
 (0)