From 8f1d0ebf239477f1f3b53f772db1c17d6c14c5fa Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 19 Nov 2019 13:56:39 +0800 Subject: [PATCH] Fix recursing endHarvest call, ryzomclassic/#31 --- .../player_manager/character_inventory_manipulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9ac8a069f..0956773f2 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 @@ -1859,7 +1859,7 @@ void CCharacter::itemTempInventoryToBag(uint32 srcSlot, bool sendCloseTempImpuls endForageSession(); if (lastMaterial) { - endHarvest(); + endHarvest(sendCloseTempImpulsion); // inform IA that everything was looted CCreatureDespawnMsg msg;