From 9f34d4a7f7f677e79ccc2aed8025c0e51eadadcc Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sun, 19 Jan 2025 13:00:27 +0800 Subject: [PATCH] Fix talk crash by correcting "nearest game objects" --- src/strategy/actions/QuestAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/actions/QuestAction.cpp b/src/strategy/actions/QuestAction.cpp index 13ed7bba..4ecb4ff7 100644 --- a/src/strategy/actions/QuestAction.cpp +++ b/src/strategy/actions/QuestAction.cpp @@ -53,7 +53,7 @@ bool QuestAction::Execute(Event event) } // Checks the nearest game objects - std::list gos = AI_VALUE(std::list, "nearest game objects"); + GuidVector gos = AI_VALUE(GuidVector, "nearest game objects"); for (const auto& go : gos) { GameObject* gameobj = botAI->GetGameObject(go);