From f36c979c2e5bf3c14c6eca5789f510c29a879c6a Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 18 Nov 2019 07:36:10 +0800 Subject: [PATCH] Remove altar restriction, fix ryzomclassic/#16 --- .../player_manager/character_inventory_manipulation.cpp | 9 --------- 1 file changed, 9 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 fd734f540..9c89d85a3 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 @@ -2902,15 +2902,6 @@ void CCharacter::useItem(uint32 slot) if ( form->Family == ITEMFAMILY::TELEPORT ) { - pair allegeance = getAllegiance(); - if ((form->TpType == TELEPORT_TYPES::KAMI) && (allegeance.first == PVP_CLAN::Karavan) - || (form->TpType == TELEPORT_TYPES::KARAVAN) && (allegeance.first == PVP_CLAN::Kami) - || getOrganization() == 5 ) //marauder - { - CCharacter::sendDynamicSystemMessage(_Id, "ALTAR_RESTRICTION"); - return; - } - if( CPVPManager2::getInstance()->isTPValid(this, item) && IsRingShard == false ) { // teleport dont work in the same way if the user is dead or alive