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
This commit is contained in:
click
2010-05-16 04:03:53 +02:00
parent 6ee54548f3
commit 89887b9b65
3 changed files with 10 additions and 5 deletions
+4
View File
@@ -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();