mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7510] Some cleanups and commens for special forbidden slots
This commit is contained in:
parent
695ceabe3e
commit
ff48408dbb
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue