[7510] Some cleanups and commens for special forbidden slots Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-21 14:55:52 -06:00
parent 7de6113d90
commit 738e139882
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
View File
@@ -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