Add an assert to trace down a crash, ref #68

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-11-05 08:42:10 +01:00
parent aa7ae0ebb0
commit a944217ede

View File

@@ -1838,6 +1838,7 @@ uint8 Guild::_CanStoreItem_InSpecificSlot( uint8 tab, uint8 slot, GuildItemPosCo
uint8 Guild::_CanStoreItem_InTab( uint8 tab, GuildItemPosCountVec &dest, uint32& count, bool merge, Item* pSrcItem, uint8 skip_slot ) const
{
assert(pSrcItem);
for (uint32 j = 0; j < GUILD_BANK_MAX_SLOTS; j++)
{
// skip specific slot already processed in first called _CanStoreItem_InSpecificSlot