diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 01:58:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 08:49:51 +0100 |
commit | c6abddc2349685a9476b6838a59893a17e443d2f (patch) | |
tree | a80d75e8c9510ecb2281bb90489d672d8120a52f /loader/anim-atlas.cpp | |
parent | 636db6c8e51a72e106347024793fadd63761aeb0 (diff) |
wip anim atlas loader
Diffstat (limited to 'loader/anim-atlas.cpp')
-rw-r--r-- | loader/anim-atlas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/anim-atlas.cpp b/loader/anim-atlas.cpp index 3ca61256..6fca5a49 100644 --- a/loader/anim-atlas.cpp +++ b/loader/anim-atlas.cpp @@ -60,6 +60,7 @@ 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); |