summaryrefslogtreecommitdiffhomepage
path: root/src/entity.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-20 08:00:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-20 08:00:48 +0100
commit3aabb03237e1e5fc1dd14462ce40c326af43a717 (patch)
tree9cf29736a770cbf4401f9b8a763421ad80f8e480 /src/entity.hpp
parent1c13313ec845d43077bd7e78538358ca4e007f8a (diff)
src: kill unused friend decl
Diffstat (limited to 'src/entity.hpp')
-rw-r--r--src/entity.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/entity.hpp b/src/entity.hpp
index b8c52f58..75e06ba8 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -77,8 +77,6 @@ struct entity
bool can_move_to(Vector2i delta);
[[nodiscard]] size_t move_to(size_t i, Vector2i delta, rotation new_r);
- friend struct world;
-
protected:
entity(object_id id, struct chunk& c, const entity_proto& proto);
void set_bbox_(Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_size, pass_mode pass);