diff options
| author | Ovahlord <dreadkiller@gmx.de> | 2024-11-03 13:20:28 +0100 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-11-03 13:20:28 +0100 |
| commit | 73aa788b2c17725c0452b50ac0b7d2730d0fe083 (patch) | |
| tree | 67fe1995778fb864a8840b2120f3b0f2343e7c0e /src/server/game/Handlers/LFGHandler.cpp | |
| parent | f38eca4d3f1c3079c3239bd51033202635f0c6e1 (diff) | |
Core/LFG: send SoftLock = 2 for dungeons which are out of level range, unavailable for the current expansion or not in season to hide them from the dungeon finder list
* the client isn't giving away much info on how these values could be named. All we know from sniffs is that 2 is the value used by default. Though 1 also hides dungeons, we stick with what sniffs say for now until someone with more extensive reverse engineering knowledge can dig up the solution
Diffstat (limited to 'src/server/game/Handlers/LFGHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/LFGHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/LFGHandler.cpp b/src/server/game/Handlers/LFGHandler.cpp index 8ee1aede0c3..5d850fc976f 100644 --- a/src/server/game/Handlers/LFGHandler.cpp +++ b/src/server/game/Handlers/LFGHandler.cpp @@ -157,7 +157,7 @@ void WorldSession::SendLfgPlayerLockInfo() // Get player locked Dungeons for (auto const& lock : sLFGMgr->GetLockedDungeons(_player->GetGUID())) - lfgPlayerInfo.BlackList.Slot.emplace_back(lock.first, lock.second.lockStatus, lock.second.requiredItemLevel, lock.second.currentItemLevel, 0); + lfgPlayerInfo.BlackList.Slot.emplace_back(lock.first, lock.second.lockStatus, lock.second.requiredItemLevel, lock.second.currentItemLevel, AsUnderlyingType(lock.second.softLock)); for (uint32 slot : randomDungeons) { |
