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 authored and killerwife committed Nov 12, 2024
1 parent a755708 commit 7b989e5
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 @@ -19978,7 +19978,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 7b989e5

Please sign in to comment.