[8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode.

This commit is contained in:
tomrus88 2009-06-14 13:59:07 +04:00
parent 6a5b6f08e0
commit 55836df62f
4 changed files with 10 additions and 16 deletions

View file

@ -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);
}