1
This commit is contained in:
parent
f1099980ed
commit
97aff06caa
@ -29,7 +29,6 @@ void MoveableEntity::OnGridListChange(std::set<GridCell*>& old_grids,
|
|||||||
std::set<GridCell*>& dec_grids
|
std::set<GridCell*>& dec_grids
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
{
|
|
||||||
room->grid_service->TraverseAllLayerHumanList
|
room->grid_service->TraverseAllLayerHumanList
|
||||||
(
|
(
|
||||||
room->GetRoomIdx(),
|
room->GetRoomIdx(),
|
||||||
@ -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(),
|
||||||
@ -54,7 +52,6 @@ void MoveableEntity::OnGridListChange(std::set<GridCell*>& old_grids,
|
|||||||
hum->AddOutObjects(this);
|
hum->AddOutObjects(this);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveableEntity::SyncAroundPlayers(const char* file, int line, const char* func)
|
void MoveableEntity::SyncAroundPlayers(const char* file, int line, const char* func)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user