Core/Weather: Weather updates are now sent to all players in the zone instead of the first player it finds in the zone and all players nearby.

Thanks to @Nawuko, @Magnifikator and @Shauren

Closes #11380
Fixes #11370
This commit is contained in:
Discover-
2014-01-21 09:44:48 +01:00
parent cde9717bd1
commit 32070669f4
5 changed files with 19 additions and 23 deletions

View File

@@ -145,7 +145,6 @@ void LoadWeatherData()
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);
}