summaryrefslogtreecommitdiffhomepage
path: root/src/wall-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-11 18:26:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-11 18:26:38 +0100
commit6944f24118eee8135f2465bed4f728fe1445f723 (patch)
tree920578957aaeb9370050d7dad53627dabd56b7f1 /src/wall-atlas.cpp
parent34f63343a30b3fdcd1808e23b899f738adbebd84 (diff)
a
Diffstat (limited to 'src/wall-atlas.cpp')
-rw-r--r--src/wall-atlas.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp
index 71f20b40..568aee83 100644
--- a/src/wall-atlas.cpp
+++ b/src/wall-atlas.cpp
@@ -61,10 +61,9 @@ wall_atlas::wall_atlas(wall_atlas_def def, String path, const ImageView2D& img)
_image_size{get_image_size(img)},
_direction_map{def.direction_map}
{
- fm_soft_assert(!_frame_array.empty());
-
{
const auto frame_count = _frame_array.size();
+ fm_soft_assert(frame_count > 0);
bool found = false;
for (auto [dir_name, dir] : wall_atlas::directions)
{