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:
1 parent
cde9717bd1
commit
32070669f4
5 files changed
+19
-23
No files matched your search
@@ -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