From 999f1bb049553207a89a998b48d9e214f255b108 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 28 Nov 2022 15:26:02 +0100 Subject: scenery wip --- loader/atlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader') diff --git a/loader/atlas.cpp b/loader/atlas.cpp index 1e498e1a..f68ca820 100644 --- a/loader/atlas.cpp +++ b/loader/atlas.cpp @@ -63,7 +63,7 @@ std::shared_ptr loader_impl::anim_atlas(StringView name) fm_assert(anim_info.nframes == 1 || anim_info.fps > 0); const auto size = tex.pixels().size(); const auto width = size[1], height = size[0]; - fm_assert(Vector2uz{anim_info.pixel_size} == Vector2uz(width, height)); + fm_assert(Vector2uz{anim_info.pixel_size} == Vector2uz{width, height}); auto atlas = std::make_shared(path, tex, std::move(anim_info)); return anim_atlas_map[atlas->name()] = atlas; -- cgit v1.2.3