Pelf

Pelf keys 1

Apr 13th, 2012
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.29 KB | None | 0 0
  1. diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
  2. index 7d36023..efc937a 100644
  3. --- a/src/server/game/Entities/Player/Player.cpp
  4. +++ b/src/server/game/Entities/Player/Player.cpp
  5. @@ -10666,8 +10669,7 @@ uint8 Player::_CanStoreItem(uint8 bag, uint8 slot, ItemPosCountVec &dest, uint32
  6.                          *no_space_count = count + no_similar_count;
  7.                      return EQUIP_ERR_CANT_CARRY_MORE_OF_THIS;
  8.                  }
  9. -
  10. -                res = _CanStoreItem_InInventorySlots(CURRENCYTOKEN_SLOT_START,CURRENCYTOKEN_SLOT_END,dest,pProto,count,false,pItem,bag,slot);
  11. +                /*res = _CanStoreItem_InInventorySlots(CURRENCYTOKEN_SLOT_START,CURRENCYTOKEN_SLOT_END,dest,pProto,count,false,pItem,bag,slot);
  12.                  if (res != EQUIP_ERR_OK)
  13.                  {
  14.                      if (no_space_count)
  15. @@ -10683,7 +10685,7 @@ uint8 Player::_CanStoreItem(uint8 bag, uint8 slot, ItemPosCountVec &dest, uint32
  16.                      if (no_space_count)
  17.                          *no_space_count = count + no_similar_count;
  18.                      return EQUIP_ERR_CANT_CARRY_MORE_OF_THIS;
  19. -                }
  20. +                }*/
  21.              }
  22.              else if (pProto->BagFamily & BAG_FAMILY_MASK_CURRENCY_TOKENS)
  23.              {
Advertisement
Add Comment
Please, Sign In to add comment