Core/PacketIO: Implemented packet compression for any opcode.

This commit is contained in:
Shauren committed 2012-07-18 14:43:55 +02:00
1 parent 52751a2c73
commit e9e1fb1025
11 files changed
+73 -81

No files matched your search

+1 -1
View File
@@ -2181,7 +2181,7 @@ uint32 Map::GetPlayersCountExceptGMs() const
return count;
}
void Map::SendToPlayers(WorldPacket const* data) const
void Map::SendToPlayers(WorldPacket* data) const
{
for (MapRefManager::const_iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
itr->getSource()->GetSession()->SendPacket(data);