From 6d5eb14d4f40e04ef762300402d3150e366dc94c Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 18 Nov 2019 07:31:55 +0800 Subject: [PATCH] Revert to old sap recharge --- .../character_inventory_manipulation.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 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 a73ee2485..3b2819df2 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 @@ -2525,10 +2525,15 @@ void CCharacter::createCrystallizedActionItem(const std::vectorsetSapLoad(sapRecharge); addItemToInventory(INVENTORIES::temporary, item); - }******/ + } + +#else CInventoryPtr handlingInv = getInventory(INVENTORIES::handling); if (handlingInv == NULL) @@ -2573,6 +2580,8 @@ void CCharacter::createRechargeItem(uint32 sapRecharge) params[1].Int = rightHandItem->sapLoad(); params[2].Int = rightHandItem->maxSapLoad(); sendDynamicSystemMessage(_EntityRowId, "ITEM_IS_RECHARGED", params); + +#endif } // check if enchant or recharge an item