diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-22 18:55:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-22 18:55:41 +0100 |
commit | 906f56a842c0e0e706087f80607ff6d816a23280 (patch) | |
tree | 730ed20091649482691baeaeae753dd40c468402 /loader/atlas.cpp | |
parent | 49f455887a29a2a879e330dca9e050296e617720 (diff) |
w
Diffstat (limited to 'loader/atlas.cpp')
-rw-r--r-- | loader/atlas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/atlas.cpp b/loader/atlas.cpp index 100f638e..555a2b02 100644 --- a/loader/atlas.cpp +++ b/loader/atlas.cpp @@ -56,7 +56,7 @@ ArrayView<const String> loader_impl::anim_atlas_list() std::shared_ptr<anim_atlas> loader_impl::anim_atlas(StringView name, StringView dir) noexcept(false) { - fm_soft_assert(dir && dir[dir.size()-1] == '/'); + fm_soft_assert(!dir || dir[dir.size()-1] == '/'); char buf[FILENAME_MAX]; auto path = make_atlas_path(buf, dir, name); |