From 2647303a34043e2437bc6ab3c1b0e1e071bf4a5d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 7 Nov 2022 08:14:13 +0100 Subject: fix loading animations --- loader/loader-impl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'loader') diff --git a/loader/loader-impl.cpp b/loader/loader-impl.cpp index 29234859..cc92939f 100644 --- a/loader/loader-impl.cpp +++ b/loader/loader-impl.cpp @@ -136,6 +136,7 @@ std::shared_ptr loader_impl::anim_atlas(StringView name) { const auto path = Path::join(FM_ANIM_PATH, name); std::filesystem::path p = std::string_view{path}; + p.replace_extension("json"); auto anim_info = json_helper::from_json(p); p.replace_extension({}); auto tex = tile_texture(path); -- cgit v1.2.3