[7015] Implement support -1 in item_template.stackable and item_template.maxcount fields. By VladimirMangos.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-03 11:06:51 -06:00
parent a1a52b710c
commit 9438625a19
15 changed files with 113 additions and 58 deletions
+2 -2
View File
@@ -733,10 +733,10 @@ enum QuestBagSlots
struct ItemPosCount
{
ItemPosCount(uint16 _pos, uint8 _count) : pos(_pos), count(_count) {}
ItemPosCount(uint16 _pos, uint32 _count) : pos(_pos), count(_count) {}
bool isContainedIn(std::vector<ItemPosCount> const& vec) const;
uint16 pos;
uint8 count;
uint32 count;
};
typedef std::vector<ItemPosCount> ItemPosCountVec;