From 3d743ccab300261aba8e1ef2c604dabcca0f702b Mon Sep 17 00:00:00 2001 From: EricksOliveira Date: Fri, 4 Apr 2025 10:56:56 -0300 Subject: [PATCH] Crash fix: Bots now properly turn their corpse into bones when resurrected so they don't have a second corpse after dying and releasing again. (#1165) --- src/strategy/actions/UseMeetingStoneAction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/strategy/actions/UseMeetingStoneAction.cpp b/src/strategy/actions/UseMeetingStoneAction.cpp index 7607dcdb..90807f99 100644 --- a/src/strategy/actions/UseMeetingStoneAction.cpp +++ b/src/strategy/actions/UseMeetingStoneAction.cpp @@ -221,6 +221,7 @@ bool SummonAction::Teleport(Player* summoner, Player* player) return false; bot->ResurrectPlayer(1.0f, false); + bot->SpawnCorpseBones(); botAI->TellMasterNoFacing("I live, again!"); botAI->GetAiObjectContext()->GetValue("prioritized targets")->Reset(); }