summaryrefslogtreecommitdiffhomepage
path: root/src/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp2
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();