summaryrefslogtreecommitdiffhomepage
path: root/src/entity.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-05-26 11:51:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-05-26 11:51:38 +0200
commit7d421d0069dbc8bcf948a29d39c3f8e65de19b33 (patch)
tree35c04379407563c8d9fbb03f0116e9d1732028ba /src/entity.hpp
parenta768733aec06a395ad409e5ed8c49dee69414d64 (diff)
draw, editor, main: add toggling vobj display
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 b49999e7..21628a19 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -73,7 +73,7 @@ struct entity
entity_type type_of() const noexcept;
static Pair<global_coords, Vector2b> normalize_coords(global_coords coord, Vector2b cur_offset, Vector2i delta);
- bool is_dynamic() const;
+ virtual bool is_dynamic() const;
bool can_rotate(rotation new_r);
bool can_move_to(Vector2i delta);
size_t move_to(size_t& i, Vector2i delta, rotation new_r);