Skip to content

Commit

Permalink
Fix issue with dynamic difficulty on login inside instance
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Dec 13, 2021
1 parent 897047f commit 1872b37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/game/Groups/Group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,10 @@ void Group::SendUpdateTo(Player* player)
data << uint8(m_lootThreshold); // loot threshold
data << uint8(m_dungeonDifficulty); // Dungeon Difficulty
data << uint8(m_raidDifficulty); // Raid Difficulty
data << uint8(0); // 3.3, dynamic difficulty?
bool isDynamicHeroic = false;
if (player->IsInWorld() && player->GetMap()->GetEntry()->IsDynamicDifficultyMap())
isDynamicHeroic = player->GetMap()->IsHeroic();
data << uint8(isDynamicHeroic); // Dynamic Difficulty - isHeroic
}

session->SendPacket(data);
Expand Down

0 comments on commit 1872b37

Please sign in to comment.