diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-02 13:08:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-02 13:08:10 +0100 |
commit | 1dd58007179b4b18e1dfced6363912845919b846 (patch) | |
tree | d4ad5bf12963693ea75c3bfeb9c9764989603e6a /src/object.cpp | |
parent | a6481a7065852cb01846a5dc8a92fd415ba745fb (diff) |
a?
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.cpp b/src/object.cpp index 208f4fe2..9d8f2f16 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -222,7 +222,7 @@ void object::teleport_to(size_t& i, global_coords coord_, Vector2b offset_, rota { if (new_r == rotation_COUNT) new_r = r; - else if (!atlas->check_rotation(new_r) || true) + else if (!atlas->check_rotation(new_r)) { const auto& info = atlas->info(); const auto *obj = info.object_name.data(), *anim = info.anim_name.data(); |