mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9337] Use ACE PATH_MAX define magic
This commit is contained in:
parent
8997f0f240
commit
9c346fc0a9
5 changed files with 7 additions and 6 deletions
|
|
@ -7348,7 +7348,7 @@ bool PlayerCondition::Meets(Player const * player) const
|
|||
case CONDITION_REPUTATION_RANK:
|
||||
{
|
||||
FactionEntry const* faction = sFactionStore.LookupEntry(value1);
|
||||
return faction && player->GetReputationMgr().GetRank(faction) >= int32(value2);
|
||||
return faction && player->GetReputationMgr().GetRank(faction) >= ReputationRank(value2);
|
||||
}
|
||||
case CONDITION_TEAM:
|
||||
return player->GetTeam() == value1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue