[9337] Use ACE PATH_MAX define magic

This commit is contained in:
VladimirMangos 2010-02-09 03:31:05 +03:00
parent 8997f0f240
commit 9c346fc0a9
5 changed files with 7 additions and 6 deletions

View file

@ -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;