diff options
Diffstat (limited to 'src/entity.hpp')
-rw-r--r-- | src/entity.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.hpp b/src/entity.hpp index 21628a19..29777c13 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -77,6 +77,7 @@ struct entity bool can_rotate(rotation new_r); bool can_move_to(Vector2i delta); size_t move_to(size_t& i, Vector2i delta, rotation new_r); + void move_to(Vector2i delta); protected: entity(object_id id, struct chunk& c, const entity_proto& proto); |