Jump to content

[fix] Raid difficulty display

Auntie Mangos

Recommended Posts

* What bug does the patch fix? What features does the patch add?

Fixed displaying of the raid difficulty mode (small number below the area name in minimap).

* For which repository revision was the patch created?


* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

related to http://getmangos.eu/community/showthread.php?12358-raid-bug

* Who has been writing this patch? Please include either forum user names or email addresses.


diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index ad13aae..495b348 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -19312,7 +19312,7 @@ void Player::SendInitialPacketsBeforeAddToMap()

    data.Initialize(SMSG_INSTANCE_DIFFICULTY, 4+4);
-    data << uint32(0);
+    data << uint32(GetMap()->GetDifficulty());
    data << uint32(0);

Link to comment
Share on other sites

  • 40 years later...
This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use