mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-20 09:01:01 +01:00
*Add unit to notify when unit is add to world (including load grid case).
*Add some check in remove object function. --HG-- branch : trunk
This commit is contained in:
@@ -485,7 +485,7 @@ bool Map::Add(Player *player)
|
||||
SendInitTransports(player);
|
||||
|
||||
player->m_clientGUIDs.clear();
|
||||
AddNotifier(player);
|
||||
//AddNotifier(player);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -523,7 +523,7 @@ Map::Add(T *obj)
|
||||
|
||||
UpdateObjectVisibility(obj,cell,p);
|
||||
|
||||
AddNotifier(obj);
|
||||
//AddNotifier(obj);
|
||||
}
|
||||
|
||||
void Map::MessageBroadcast(Player *player, WorldPacket *msg, bool to_self, bool to_possessor)
|
||||
|
||||
Reference in New Issue
Block a user