diff options
| author | megamage <none@none> | 2009-06-14 10:06:41 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-14 10:06:41 -0500 |
| commit | 314a4f8f00213b25b48d2aab277a6a6babf0af48 (patch) | |
| tree | 06a88ec14a082b7c16af43b358a99f1481ff85ba /src/game/Player.cpp | |
| parent | 85a50c7ce2401c0090725677a790d4617505b7c2 (diff) | |
[8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode. Author: tomrus88
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 02556d4f199..a2ea7dc81a2 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -18796,10 +18796,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); } |
