summaryrefslogtreecommitdiffhomepage
path: root/loader/anim-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-10 07:39:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-10 07:39:47 +0100
commit78570ccc1f2d964bf5b361724a4eac88c0a14b9f (patch)
treef62fe25aaa674dd3cb4962c2dbfa178c3739e55f /loader/anim-atlas.cpp
parent5fd11965fbde71e56423da13955069aa92c28d30 (diff)
remove duplicate assert
Diffstat (limited to 'loader/anim-atlas.cpp')
-rw-r--r--loader/anim-atlas.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/loader/anim-atlas.cpp b/loader/anim-atlas.cpp
index 6fca5a49..3ca61256 100644
--- a/loader/anim-atlas.cpp
+++ b/loader/anim-atlas.cpp
@@ -60,7 +60,6 @@ std::shared_ptr<anim_atlas> loader_impl::anim_atlas(StringView name, StringView
if (name == INVALID) return make_invalid_anim_atlas().atlas; // todo! hack
fm_soft_assert(check_atlas_name(name));
- fm_soft_assert(!dir || dir[dir.size()-1] == '/');
char buf[fm_FILENAME_MAX];
auto path = make_atlas_path(buf, dir, name);