* Add two flags for items with no stack limit

* Added proper checking of faction based on seller for items with RequiredReputaionFaction=0
* This will allow 100% proper WDB data to be used
Thx to Malcrom and Brian

--HG--
branch : trunk
This commit is contained in:
Kudlaty
2009-09-21 05:52:58 +02:00
parent 96cbf2f75b
commit 45e2f9c002
3 changed files with 18 additions and 4 deletions

View File

@@ -2073,8 +2073,6 @@ void ObjectMgr::LoadItemPrototypes()
if(proto->RequiredReputationRank == MIN_REPUTATION_RANK)
sLog.outErrorDb("Item (Entry: %u) has min. reputation rank in RequiredReputationRank (0) but RequiredReputationFaction > 0, faction setting is useless.",i);
}
else if(proto->RequiredReputationRank > MIN_REPUTATION_RANK)
sLog.outErrorDb("Item (Entry: %u) has RequiredReputationFaction ==0 but RequiredReputationRank > 0, rank setting is useless.",i);
if(proto->MaxCount < -1)
{