Skip to content

Commit

Permalink
PvP: Fix required rank for officer hall
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa committed Aug 10, 2024
1 parent 0313b22 commit 1bb299f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19964,7 +19964,7 @@ AreaLockStatus Player::GetAreaTriggerLockStatus(AreaTrigger const* at, uint32& m
}

if (at->entry == 2532 || at->entry == 2527) // champions hall and hall of legends - need pvp rank
if (GetHonorRankInfo().rank < ENTER_HALL_RANK)
if (GetHonorRankInfo().visualRank < ENTER_HALL_RANK)
return AREA_LOCKSTATUS_PVP_RANK;

// If the map is not created, assume it is possible to enter it.
Expand Down

0 comments on commit 1bb299f

Please sign in to comment.