mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode.
This commit is contained in:
parent
6a5b6f08e0
commit
55836df62f
4 changed files with 10 additions and 16 deletions
|
|
@ -18078,10 +18078,16 @@ void Player::SendInstanceResetWarning(uint32 mapid, uint32 time)
|
|||
type = RAID_INSTANCE_WARNING_MIN;
|
||||
else
|
||||
type = RAID_INSTANCE_WARNING_MIN_SOON;
|
||||
WorldPacket data(SMSG_RAID_INSTANCE_MESSAGE, 4+4+4);
|
||||
WorldPacket data(SMSG_RAID_INSTANCE_MESSAGE, 4+4+4+4);
|
||||
data << uint32(type);
|
||||
data << uint32(mapid);
|
||||
data << uint32(0); // may be difficulty
|
||||
data << uint32(time);
|
||||
if(type == RAID_INSTANCE_WELCOME)
|
||||
{
|
||||
data << uint8(0);
|
||||
data << uint8(0);
|
||||
}
|
||||
GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue