Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources

This commit is contained in:
ariel- committed 2018-03-28 04:41:59 -03:00
1 parent 7fff6c424f
commit 5ff847159c
1243 files changed
+29780 -36517

No files matched your search

+7 -6
View File
@@ -21,14 +21,15 @@
*/
#include "Weather.h"
#include "WorldPacket.h"
#include "Player.h"
#include "GameTime.h"
#include "Log.h"
#include "Util.h"
#include "ScriptMgr.h"
#include "Opcodes.h"
#include "WorldSession.h"
#include "Player.h"
#include "Random.h"
#include "ScriptMgr.h"
#include "Util.h"
#include "World.h"
#include "WorldPacket.h"
/// Create the Weather object
Weather::Weather(uint32 zone, WeatherData const* weatherChances)
@@ -197,7 +198,7 @@ void Weather::SendWeatherUpdateToPlayer(Player* player)
data << uint32(GetWeatherState());
data << (float)m_grade;
data << uint8(0);
player->GetSession()->SendPacket(&data);
player->SendDirectMessage(&data);
}
/// Send the new weather to all players in the zone