diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-19 00:03:12 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-19 00:03:46 +0100 |
commit | f3f99d56ad6cd66e74e6958d46a12cc56f584984 (patch) | |
tree | 4206d13f3091f822d7ee3b34ced82163ed7f50cf /src/character.cpp | |
parent | 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (diff) |
move some deserialize path's asserts to soft asserts
Diffstat (limited to 'src/character.cpp')
-rw-r--r-- | src/character.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.cpp b/src/character.cpp index 84289f01..f63b35e9 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -150,7 +150,7 @@ character::character(object_id id, struct chunk& c, entity_type type, const char name = "(Unnamed)"_s; if (!atlas) atlas = loader.anim_atlas("npc-walk", loader.ANIM_PATH); - fm_assert(atlas->check_rotation(r)); + fm_soft_assert(atlas->check_rotation(r)); entity::set_bbox_(offset, bbox_offset, Vector2ub(iTILE_SIZE2/2), pass); } |