summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-14 06:03:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-14 06:03:25 +0200
commita63b97f06cbe4286f3617db24b9cf2490c62b2b9 (patch)
treec0675eb1b623de7ace98b463aa11ec25bbdd9c0d
parentb4f0ae962bdd07c01f7193631b6fa502b53351be (diff)
c
-rw-r--r--src/world.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 1012b303..572fe8aa 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -310,11 +310,9 @@ std::shared_ptr<scenery> world::make_scenery(object_id id, global_coords pos, sc
throw_on_empty_scenery_proto(id, pos, proto.offset);
},
[&](generic_scenery_proto&& p) -> type {
- fm_debug_assert(p.scenery_type() == scenery_type::generic);
return make_object<generic_scenery, sorted>(id, pos, move(p), move(proto));
},
[&](door_scenery_proto&& p) -> type {
- fm_debug_assert(p.scenery_type() == scenery_type::door);
return make_object<door_scenery, sorted>(id, pos, move(p), move(proto));
},
}, move(proto.subtype));