aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-21 14:55:52 -0600
committermegamage <none@none>2009-03-21 14:55:52 -0600
commit738e139882152e8e2c5bf9496ec243d207c7806d (patch)
treef3bd77e74fae51d191da4c919ac3e6caa5828ed7
parent7de6113d908ccec0c8f1585a346bb16c5e7920f7 (diff)
[7510] Some cleanups and commens for special forbidden slots Author: VladimirMangos
--HG-- branch : trunk
-rw-r--r--src/game/Player.cpp4
-rw-r--r--src/game/Player.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 0dcd07a956e..35317d9ded8 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -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
diff --git a/src/game/Player.h b/src/game/Player.h
index d425011cfb7..acaa1af8c89 100644
--- a/src/game/Player.h
+++ b/src/game/Player.h
@@ -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