[10678] Revert "[10675] Ignore BOA items reputation requirements at use."

This reverts commit 4ce902e5d9c3cfc635c0eff1ba3552da5ecd0c5b.

Check done at client side so useless skip it at server side.
Proper fix expect show diff items in vendor list depndent from required reputation.
This commit is contained in:
VladimirMangos 2010-11-04 13:15:03 +03:00
parent 555c1a9094
commit a0cb8494a9
2 changed files with 2 additions and 4 deletions

View file

@ -10713,9 +10713,7 @@ uint8 Player::CanUseItem( Item *pItem, bool not_loading ) const
}
}
// reputation for BOA items checked only at buy/quest rewarding (quest accepting in fact by quest rep requirements)
if (!(pProto->Flags & ITEM_FLAG_BOA) && pProto->RequiredReputationFaction &&
uint32(GetReputationRank(pProto->RequiredReputationFaction)) < pProto->RequiredReputationRank)
if (pProto->RequiredReputationFaction && uint32(GetReputationRank(pProto->RequiredReputationFaction)) < pProto->RequiredReputationRank)
return EQUIP_ERR_CANT_EQUIP_REPUTATION;
return EQUIP_ERR_OK;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10677"
#define REVISION_NR "10678"
#endif // __REVISION_NR_H__