This commit is contained in:
aozhiwei 2019-08-28 16:49:17 +08:00
parent 9ad76dcd62
commit a897e57ae0

View File

@ -1241,6 +1241,7 @@ void Human::OnGridListChange(std::set<GridCell*>& old_grid_list,
case ET_Building:
case ET_Obstacle:
case ET_Hero:
case ET_Loot:
{
AddToNewObjects(entity);
RemoveOutObjects(entity);
@ -1267,6 +1268,7 @@ void Human::OnGridListChange(std::set<GridCell*>& old_grid_list,
case ET_Building:
case ET_Obstacle:
case ET_Hero:
case ET_Loot:
{
AddOutObjects(entity);
}