From 34f63343a30b3fdcd1808e23b899f738adbebd84 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Dec 2023 09:46:16 +0100 Subject: zz --- src/wall-atlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp index a023c803..71f20b40 100644 --- a/src/wall-atlas.cpp +++ b/src/wall-atlas.cpp @@ -69,7 +69,7 @@ wall_atlas::wall_atlas(wall_atlas_def def, String path, const ImageView2D& img) for (auto [dir_name, dir] : wall_atlas::directions) { const auto* D = direction((size_t)dir); - fm_soft_assert(def.direction_mask[(size_t)dir] == !!D); + fm_soft_assert(!!D == def.direction_mask[(size_t)dir]); if (!D) continue; for (auto [group_name, gmemb, gr] : Direction::groups) -- cgit v1.2.3