summaryrefslogtreecommitdiffhomepage
path: root/src/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 07cfe196..8c564007 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -117,7 +117,7 @@ void world::do_make_entity(const std::shared_ptr<entity>& e, global_coords pos,
fm_debug_assert(_unique_id && e->c->world()._unique_id == _unique_id);
fm_assert(!_entities.contains(e->id));
fm_assert(Vector2ui(e->bbox_size).product() > 0);
- fm_assert(e->type != entity_type::none);
+ fm_assert(e->type() != entity_type::none);
const_cast<global_coords&>(e->coord) = pos;
_entities[e->id] = e;
if (sorted)