summaryrefslogtreecommitdiffhomepage
path: root/src/entity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.hpp')
-rw-r--r--src/entity.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.hpp b/src/entity.hpp
index 8d56617c..c6ceabaf 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -75,7 +75,7 @@ struct entity
bool is_dynamic() const;
bool can_rotate(rotation new_r);
bool can_move_to(Vector2i delta);
- bool move_to(size_t& i, Vector2i delta, rotation new_r);
+ size_t move_to(size_t& i, Vector2i delta, rotation new_r);
protected:
entity(object_id id, struct chunk& c, const entity_proto& proto);