Core/Weather: Move static function to WeatherMgr.
This commit is contained in:
1 parent
d0ce7d2367
commit
71228f90bb
5 files changed
+11
-10
No files matched your search
@@ -197,14 +197,6 @@ void Weather::SendWeatherUpdateToPlayer(Player* player)
|
||||
player->GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
void Weather::SendFineWeatherUpdateToPlayer(Player* player)
|
||||
{
|
||||
WorldPacket data(SMSG_WEATHER, (4+4+4));
|
||||
|
||||
data << (uint32)WEATHER_STATE_FINE << (float)0.0f << uint8(0);
|
||||
player->GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
/// Send the new weather to all players in the zone
|
||||
bool Weather::UpdateWeather()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user