diff options
author | click <none@none> | 2010-05-16 04:03:53 +0200 |
---|---|---|
committer | click <none@none> | 2010-05-16 04:03:53 +0200 |
commit | 89887b9b6554656033079bd3c90e1495fb9edf74 (patch) | |
tree | ab52fd1065913f0997353b630faf8c36f76b16f4 /src/game/Player.cpp | |
parent | 6ee54548f34ab2247612f2d24e7412ce798dd3af (diff) |
Correct SMSG_INSTANCE_DIFFICULTY structure (fixes raid difficulty display).
Move GetDifficulty() in under Map-scope, so it's reachable for map-based functions
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 4370953a7be..cea646fe436 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -20713,6 +20713,10 @@ void Player::SendInitialPacketsBeforeAddToMap() SendTalentsInfoData(false); // SMSG_INSTANCE_DIFFICULTY + data.Initialize(SMSG_INSTANCE_DIFFICULTY, 4+4); + data << uint32(GetMap()->GetDifficulty()); + data << uint32(0); + GetSession()->SendPacket(&data); SendInitialSpells(); |