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 396cb881..893c30e9 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -66,7 +66,7 @@ struct entity
static Pair<global_coords, Vector2b> normalize_coords(global_coords coord, Vector2b cur_offset, Vector2i delta);
[[nodiscard]] virtual bool can_move_to(Vector2i delta);
std::size_t move(std::size_t i, Vector2i delta);
- void update_bbox(Vector2b bbox_offset, Vector2ub bbox_size); // todo
+ virtual void update_bbox(Vector2b bbox_offset, Vector2ub bbox_size) = 0;
bool is_dynamic() const;
friend struct world;