This commit is contained in:
aozhiwei 2020-03-05 12:43:41 +08:00
parent fd9c2fa00d
commit 5a8b867fd7

View File

@ -639,11 +639,13 @@ void Room::RemoveObjectLater(Entity* entity)
void Room::FetchBuilding(Human* hum) void Room::FetchBuilding(Human* hum)
{ {
#if 0
for (auto& pair : uniid_hash_) { for (auto& pair : uniid_hash_) {
if (pair.second->entity_type == ET_Building) { if (pair.second->entity_type == ET_Building) {
hum->AddToNewObjects(pair.second); hum->AddToNewObjects(pair.second);
} }
} }
#endif
} }
void Room::OnHumanDie(Human* hum) void Room::OnHumanDie(Human* hum)