diff options
author | megamage <none@none> | 2009-03-26 13:53:32 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-26 13:53:32 -0600 |
commit | 68c3039715d8b68aa1b33a44bae3dd5d59eb5e5f (patch) | |
tree | 1eb657d76ea97fc08dff54f9eea59dc976c4136a /src/game/ObjectAccessor.cpp | |
parent | bdafaf41134a26818d81ad1ffe853f6013635c4c (diff) |
*Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectAccessor.cpp')
-rw-r--r-- | src/game/ObjectAccessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ObjectAccessor.cpp b/src/game/ObjectAccessor.cpp index 14ee90ef3e5..f1243e7afec 100644 --- a/src/game/ObjectAccessor.cpp +++ b/src/game/ObjectAccessor.cpp @@ -84,7 +84,7 @@ ObjectAccessor::GetNPCIfCanInteractWith(Player const &player, uint64 guid, uint3 if(FactionTemplateEntry const* factionTemplate = sFactionTemplateStore.LookupEntry(unit->getFaction())) if(factionTemplate->faction) if(FactionEntry const* faction = sFactionStore.LookupEntry(factionTemplate->faction)) - if(faction->reputationListID >= 0 && player.GetReputationRank(faction) <= REP_UNFRIENDLY) + if(faction->reputationListID >= 0 && player.GetReputationMgr().GetRank(faction) <= REP_UNFRIENDLY) return NULL; // not too far |