summaryrefslogtreecommitdiffhomepage
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-19 03:55:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-19 03:55:45 +0100
commit6ec5e5aaf44693f44a4f19d0d394cd8a4c114fa2 (patch)
tree11de273ef91b3db26eea8b64b3781188fa98020d /src/entity.cpp
parentdb90ea21361e51a1a7621bcee3c78d1857d51bba (diff)
src/entity: call the overload with less args
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;