summaryrefslogtreecommitdiffhomepage
path: root/src/object.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-08 02:27:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-08 02:27:41 +0200
commit6945fbda28d0111f846458f4c4d63beb14d02f8d (patch)
tree472084a7b1fd4f2eefb41f18d0ab913072c32d53 /src/object.hpp
parent6cb94b6c8c0bcd8812605044bb56c4af2b6abe17 (diff)
wa
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object.hpp b/src/object.hpp
index 8d71645b..d65f6a67 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -89,6 +89,8 @@ struct object
virtual bool is_dynamic() const;
virtual bool updates_passability() const;
+ virtual void maybe_mark_neighbor_chunks_modified();
+
bool can_rotate(rotation new_r);
bool can_move_to(Vector2i delta);
bool move_to(size_t& i, Vector2i delta, rotation new_r);