mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user