[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
@@ -220,12 +220,12 @@ struct GuildBankTab
struct GuildItemPosCount
{
GuildItemPosCount(uint8 _slot, uint8 _count) : slot(_slot), count(_count) {}
GuildItemPosCount(uint8 _slot, uint32 _count) : slot(_slot), count(_count) {}
bool isContainedIn(std::vector<GuildItemPosCount> const& vec) const;
uint8 slot;
uint8 count;
uint32 count;
};
typedef std::vector<GuildItemPosCount> GuildItemPosCountVec;