summaryrefslogtreecommitdiffhomepage
path: root/src/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 697abed0..cc7bc00d 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -161,7 +161,7 @@ bool entity::can_move_to(Vector2i delta)
size_t entity::move_to(size_t i, Vector2i delta, rotation new_r)
{
- if (!can_rotate(coord, new_r, r, offset, bbox_offset, bbox_size))
+ if (!can_rotate(new_r))
return i;
auto& es = c->_entities;