[7510] Some cleanups and commens for special forbidden slots Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -9292,8 +9292,8 @@ uint8 Player::_CanStoreItem_InSpecificSlot( uint8 bag, uint8 slot, ItemPosCountV
|
||||
if(slot >= CURRENCYTOKEN_SLOT_START && slot < CURRENCYTOKEN_SLOT_END && !(false /*pProto->BagFamily & BAG_FAMILY_MASK_CURRENCY_TOKENS*/))
|
||||
return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
|
||||
|
||||
// guestbag case (disabled until proper implement)
|
||||
if(slot >= QUESTBAG_SLOT_START && slot < QUESTBAG_SLOT_END && !(false /*pProto->BagFamily & BAG_FAMILY_MASK_QUEST_ITEMS*/))
|
||||
// guestbag case (not use)
|
||||
if(slot >= QUESTBAG_SLOT_START && slot < QUESTBAG_SLOT_END)
|
||||
return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
|
||||
|
||||
// prevent cheating
|
||||
|
||||
+2
-2
@@ -638,8 +638,8 @@ enum CurrencyTokenSlots // 32 slots
|
||||
|
||||
enum QuestBagSlots // 32 slots
|
||||
{
|
||||
QUESTBAG_SLOT_START = 168,
|
||||
QUESTBAG_SLOT_END = 200
|
||||
QUESTBAG_SLOT_START = 168, // not use
|
||||
QUESTBAG_SLOT_END = 200 // not allowed any content in.
|
||||
};
|
||||
|
||||
struct ItemPosCount
|
||||
|
||||
Reference in New Issue
Block a user