This commit is contained in:
aozhiwei 2021-06-08 11:05:27 +08:00
parent f1099980ed
commit 97aff06caa

View File

@ -28,7 +28,6 @@ void MoveableEntity::OnGridListChange(std::set<GridCell*>& old_grids,
std::set<GridCell*>& inc_grids, std::set<GridCell*>& inc_grids,
std::set<GridCell*>& dec_grids std::set<GridCell*>& dec_grids
) )
{
{ {
room->grid_service->TraverseAllLayerHumanList room->grid_service->TraverseAllLayerHumanList
( (
@ -42,8 +41,7 @@ void MoveableEntity::OnGridListChange(std::set<GridCell*>& old_grids,
hum->RemoveOutObjects(this); hum->RemoveOutObjects(this);
} }
}); });
}
{
room->grid_service->TraverseAllLayerHumanList room->grid_service->TraverseAllLayerHumanList
( (
room->GetRoomIdx(), room->GetRoomIdx(),
@ -55,7 +53,6 @@ void MoveableEntity::OnGridListChange(std::set<GridCell*>& old_grids,
} }
}); });
} }
}
void MoveableEntity::SyncAroundPlayers(const char* file, int line, const char* func) void MoveableEntity::SyncAroundPlayers(const char* file, int line, const char* func)
{ {