diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-10 14:11:02 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-11 00:33:47 +0200 |
| commit | f29ee994108bf443de4aeeabd7519f13ca4b7a4d (patch) | |
| tree | 6f1ad0d719dcfcc5c5c199ce1d25c5531550835d /src/world.cpp | |
| parent | aad0d8fd8e2d3409db1b591c6dbc401e02eaeef3 (diff) | |
wip virtual entity stuff
Diffstat (limited to 'src/world.cpp')
| -rw-r--r-- | src/world.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp index 6749210a..e829ab5e 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -163,7 +163,6 @@ void world::do_make_entity(const std::shared_ptr<entity>& e, global_coords pos, fm_assert(e->id > 0); 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); const_cast<global_coords&>(e->coord) = pos; _entities[e->id] = e; |
