[7510] Some cleanups and commens for special forbidden slots

This commit is contained in:
VladimirMangos 2009-03-21 21:20:38 +03:00
parent 695ceabe3e
commit ff48408dbb
3 changed files with 5 additions and 5 deletions

View file

@ -8996,8 +8996,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*/)) 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; return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
// guestbag case (disabled until proper implement) // guestbag case (not use)
if(slot >= QUESTBAG_SLOT_START && slot < QUESTBAG_SLOT_END && !(false /*pProto->BagFamily & BAG_FAMILY_MASK_QUEST_ITEMS*/)) if(slot >= QUESTBAG_SLOT_START && slot < QUESTBAG_SLOT_END)
return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG; return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
// prevent cheating // prevent cheating

View file

@ -640,8 +640,8 @@ enum CurrencyTokenSlots // 32 slots
enum QuestBagSlots // 32 slots enum QuestBagSlots // 32 slots
{ {
QUESTBAG_SLOT_START = 168, QUESTBAG_SLOT_START = 168, // not use
QUESTBAG_SLOT_END = 200 QUESTBAG_SLOT_END = 200 // not allowed any content in.
}; };
struct ItemPosCount struct ItemPosCount

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7509" #define REVISION_NR "7510"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__