Core/Weather: Move static function to WeatherMgr.

This commit is contained in:
Spp
2011-09-28 11:55:01 +02:00
parent d0ce7d2367
commit 71228f90bb
5 changed files with 11 additions and 10 deletions

View File

@@ -141,6 +141,14 @@ void LoadWeatherData()
sLog->outString();
}
void SendFineWeatherUpdateToPlayer(Player* player)
{
WorldPacket data(SMSG_WEATHER, (4+4+4));
data << (uint32)WEATHER_STATE_FINE << (float)0.0f << uint8(0);
player->GetSession()->SendPacket(&data);
}
void Update(uint32 diff)
{
///- Send an update signal to Weather objects