From 0b47322d6c6f1686adcef78b4e600f27bb99f51f Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 18 Nov 2019 07:25:13 +0800 Subject: [PATCH] Remove hardcoded item rule --- .../player_manager/character_inventory_manipulation.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/code/ryzom/server/src/entities_game_service/player_manager/character_inventory_manipulation.cpp b/code/ryzom/server/src/entities_game_service/player_manager/character_inventory_manipulation.cpp index 954037b56..bc00307a7 100644 --- a/code/ryzom/server/src/entities_game_service/player_manager/character_inventory_manipulation.cpp +++ b/code/ryzom/server/src/entities_game_service/player_manager/character_inventory_manipulation.cpp @@ -822,13 +822,6 @@ void CCharacter::moveItem(INVENTORIES::TInventory srcInvId, uint32 srcSlot, INVE if (!srcItem->getMovable() && (srcItem->getUnMovable() || (!srcForm->DropOrSell && !canPutNonDropableItemInInventory(dstInvId)) || isAnActiveXpCatalyser(srcItem))) return; - // You cannot exchange genesis named items - if (srcItem->getPhraseId().find("genesis_") == 0 && !canPutNonDropableItemInInventory(dstInvId)) - { - nlwarning("Character %s tries to move '%s' to inv %u", _Id.toString().c_str(), srcItem->getPhraseId().c_str(), dstInvId ); - return; - } - // cannot move a pet animal ticket if (srcForm->Family == ITEMFAMILY::PET_ANIMAL_TICKET) return;