diff options
author | Shauren <none@none> | 2010-05-29 16:17:28 +0200 |
---|---|---|
committer | Shauren <none@none> | 2010-05-29 16:17:28 +0200 |
commit | a083bc5981acf7bed518eaba043d78cc6cdc6964 (patch) | |
tree | 0b504589777d0743f1bc76f758ffe9371575f85c | |
parent | d1747a66ce107886decaf46aefc9468a43fd69c7 (diff) |
RequiredReputationFaction == 0 && RequiredReputationRank != 0 means its some leftover data, not a sign we should check standing with vendor's faction
This fixes players "randomly" being unable to purchase an item due to missing reputation
Fixes issue #2193.
--HG--
branch : trunk
-rw-r--r-- | src/game/Player.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 9b83e023920..0864266fb81 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -19573,14 +19573,6 @@ bool Player::BuyItemFromVendorSlot(uint64 vendorguid, uint32 vendorslot, uint32 SendBuyError(BUY_ERR_REPUTATION_REQUIRE, pCreature, item, 0); return false; } - else if (!pProto->RequiredReputationFaction && pProto->RequiredReputationRank > 0) - { - if (uint32(GetReputationRank(pCreature->getFactionTemplateEntry()->faction)) < pProto->RequiredReputationRank) - { - SendBuyError(BUY_ERR_REPUTATION_REQUIRE, pCreature, item, 0); - return false; - } - } if (crItem->ExtendedCost) { |