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 9bcd9f38e..a73ee2485 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 @@ -2441,28 +2441,8 @@ void CCharacter::sendItemInfos( uint16 slotId ) infos.RequiredCharacLevel = item->getRequiredCharacLevel(); infos.TypeSkillMods = item->getTypeSkillMods(); - - // Special case of web missions items - if (item->getStaticForm()->Name == "Web Transaction") - { - string cText = item->getCustomText().toString(); - string::size_type sPos = cText.find(" "); - string::size_type ePos = cText.find("\n---\n"); - if (sPos != string::npos && sPos != (cText.length()-1) && ePos != string::npos && ePos != (cText.length()-1)) - { - string cUrl = cText.substr(sPos, ePos-sPos); - infos.CustomText = ucstring("@WEBIG "+cUrl); - } - } - else - { - infos.CustomText = item->getCustomText(); - } - - if (item->getPetIndex() < MAX_INVENTORY_ANIMAL) - { - infos.PetNumber = item->getPetIndex() + 1; - } + + infos.CustomText = item->getCustomText(); CMessage msgout( "IMPULSION_ID" ); CBitMemStream bms;