diff options
-rw-r--r-- | src/game/Guild.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Guild.cpp b/src/game/Guild.cpp index 99f79b1738d..c53a51fb40d 100644 --- a/src/game/Guild.cpp +++ b/src/game/Guild.cpp @@ -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 |