diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2020-08-25 16:36:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-25 16:36:56 -0500 |
| commit | 090e82421d4b0c8c5b3086554f88e7ff613dffdf (patch) | |
| tree | 552d57eec9a1a6124b561cc307fd870a3b9565a5 | |
| parent | 9f4487d9cfff049f94bcfdc4c03de831ddce39fb (diff) | |
| parent | 18a9bcfe19637bfa227bcd2dc7fa34966b5f4ca5 (diff) | |
Merge pull request #276 from Crystalwarrior/bugfix/sprite-freedom
Allow non-png static image lookups
| -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( |
