[8092] No, one more not safe place found.

Patch inspired bug report connected with alt.patch written by Machiavelli.
This commit is contained in:
VladimirMangos 2009-06-29 13:19:42 +04:00
parent ac7a7417fe
commit f80f45e3c4
2 changed files with 151 additions and 148 deletions

View file

@ -8733,6 +8733,9 @@ uint8 Player::_CanStoreItem_InSpecificSlot( uint8 bag, uint8 slot, ItemPosCountV
if (!pBagProto)
return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
if (slot >= pBagProto->ContainerSlots)
return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
if (!ItemCanGoIntoBag(pProto,pBagProto))
return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8091"
#define REVISION_NR "8092"
#endif // __REVISION_NR_H__