Core/Packet: Correction to packetsize for SMSG_WEATHER
This commit is contained in:
1 parent
5f803991b7
commit
d8ef63040a
2 files changed
+9
-5
No files matched your search
@@ -143,8 +143,10 @@ void LoadWeatherData()
|
||||
|
||||
void SendFineWeatherUpdateToPlayer(Player* player)
|
||||
{
|
||||
WorldPacket data(SMSG_WEATHER, (4+4+4));
|
||||
data << (uint32)WEATHER_STATE_FINE << (float)0.0f << uint8(0);
|
||||
WorldPacket data(SMSG_WEATHER, (4 + 4 + 1));
|
||||
data << (uint32)WEATHER_STATE_FINE;
|
||||
data << (float)0.0f;
|
||||
data << uint8(0);
|
||||
player->GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user