1
This commit is contained in:
parent
71c611bf0c
commit
38876e9ede
@ -3796,6 +3796,12 @@ int Room::GetPolyExtFlag(int poly_idx)
|
||||
void Room::CreateWorldObjects()
|
||||
{
|
||||
if (IsPveRoom()) {
|
||||
int uniid = AllocUniid();
|
||||
std::shared_ptr<BornPoint> born_point = std::make_shared<BornPoint>();
|
||||
std::shared_ptr<mt::WorldObject> wo_meta = std::make_shared<mt::WorldObject>();
|
||||
wo_meta->pos = pve_instance->_spawn_point;
|
||||
born_point->wo_meta = wo_meta;
|
||||
born_point_hash_[uniid] = born_point;
|
||||
return;
|
||||
}
|
||||
for (auto& itr : GetMapMeta()->_world_objects) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user