This commit is contained in:
aozhiwei 2021-07-22 14:56:37 +08:00
parent 5d8b338aa3
commit b7e8dfc061

View File

@ -1141,6 +1141,7 @@ void Human::RefreshView()
case ET_Building:
case ET_Obstacle:
case ET_Loot:
case ET_MapBlock:
{
AddToNewObjects(entity);
}
@ -2715,6 +2716,7 @@ void Human::GetViewObjects(std::set<Entity*>& view_objects)
case ET_Building:
case ET_Obstacle:
case ET_Loot:
case ET_MapBlock:
{
view_objects.insert(entity);
}
@ -2799,6 +2801,7 @@ void Human::ProcIncGridList(std::set<GridCell*>& old_grids,
case ET_Building:
case ET_Obstacle:
case ET_Loot:
case ET_MapBlock:
{
AddToNewObjects(entity);
RemoveOutObjects(entity);
@ -2847,6 +2850,7 @@ void Human::ProcDecGridList(std::set<GridCell*>& old_grids,
case ET_Building:
case ET_Obstacle:
case ET_Loot:
case ET_MapBlock:
{
AddOutObjects(entity);
}