*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:
1 parent
0c2dd85c2c
commit
a7e04a252f
4 files changed
+18
-9
No files matched your search
+2
-2
@@ -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