From 2cedf3f05b40efb4340a32d561140f3cd840ec2a Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Wed, 30 Oct 2024 21:10:43 +0800 Subject: [PATCH] [Sync] Core sync 20241030 --- src/TravelMgr.cpp | 1 + src/strategy/actions/MovementActions.cpp | 1 + src/strategy/actions/ReleaseSpiritAction.cpp | 1 + src/strategy/actions/ReviveFromCorpseAction.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/src/TravelMgr.cpp b/src/TravelMgr.cpp index af8bb12f..301802b6 100644 --- a/src/TravelMgr.cpp +++ b/src/TravelMgr.cpp @@ -18,6 +18,7 @@ #include "TransportMgr.h" #include "VMapFactory.h" #include "VMapMgr2.h" +#include "Corpse.h" WorldPosition::WorldPosition(std::string const str) { diff --git a/src/strategy/actions/MovementActions.cpp b/src/strategy/actions/MovementActions.cpp index 791f0990..899b91b5 100644 --- a/src/strategy/actions/MovementActions.cpp +++ b/src/strategy/actions/MovementActions.cpp @@ -41,6 +41,7 @@ #include "Unit.h" #include "Vehicle.h" #include "WaypointMovementGenerator.h" +#include "Corpse.h" MovementAction::MovementAction(PlayerbotAI* botAI, std::string const name) : Action(botAI, name) { diff --git a/src/strategy/actions/ReleaseSpiritAction.cpp b/src/strategy/actions/ReleaseSpiritAction.cpp index 382464e4..d15c7487 100644 --- a/src/strategy/actions/ReleaseSpiritAction.cpp +++ b/src/strategy/actions/ReleaseSpiritAction.cpp @@ -11,6 +11,7 @@ #include "ObjectGuid.h" #include "Playerbots.h" #include "ServerFacade.h" +#include "Corpse.h" bool ReleaseSpiritAction::Execute(Event event) { diff --git a/src/strategy/actions/ReviveFromCorpseAction.cpp b/src/strategy/actions/ReviveFromCorpseAction.cpp index 4f522104..4f19a639 100644 --- a/src/strategy/actions/ReviveFromCorpseAction.cpp +++ b/src/strategy/actions/ReviveFromCorpseAction.cpp @@ -13,6 +13,7 @@ #include "Playerbots.h" #include "RandomPlayerbotMgr.h" #include "ServerFacade.h" +#include "Corpse.h" bool ReviveFromCorpseAction::Execute(Event event) {