mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Lots of cmangos commirs applied
This commit is contained in:
parent
8431568536
commit
18dd18780d
44 changed files with 677 additions and 323 deletions
|
|
@ -362,7 +362,9 @@ Map::Add(T* obj)
|
|||
DEBUG_LOG("%s enters grid[%u,%u]", obj->GetGuidStr().c_str(), cell.GridX(), cell.GridY());
|
||||
|
||||
obj->GetViewPoint().Event_AddedToWorld(&(*grid)(cell.CellX(), cell.CellY()));
|
||||
obj->SetItsNewObject(true);
|
||||
UpdateObjectVisibility(obj, cell, p);
|
||||
obj->SetItsNewObject(false);
|
||||
}
|
||||
|
||||
void Map::MessageBroadcast(Player const* player, WorldPacket* msg, bool to_self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue