1
This commit is contained in:
parent
e6d8aa0903
commit
e1c5ccdafc
@ -14,7 +14,7 @@ struct BornPoint
|
||||
{
|
||||
int player_num = 0;
|
||||
int android_num = 0;
|
||||
std::shared_ptr<mt::WorldObject> cfg;
|
||||
std::shared_ptr<mt::WorldObject> wo_meta;
|
||||
|
||||
int GetNum() { return 10;};
|
||||
Position RandPoint() const;
|
||||
|
@ -3762,6 +3762,7 @@ void Room::CreateWorldObjects()
|
||||
{
|
||||
int uniid = AllocUniid();
|
||||
std::shared_ptr<BornPoint> born_point = std::make_shared<BornPoint>();
|
||||
born_point->wo_meta = obj;
|
||||
born_point_hash_[uniid] = born_point;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user