Fix talk crash by correcting "nearest game objects"

This commit is contained in:
Yunfan Li
2025-01-19 13:00:27 +08:00
parent 106b36b498
commit 9f34d4a7f7

View File

@@ -53,7 +53,7 @@ bool QuestAction::Execute(Event event)
}
// Checks the nearest game objects
std::list<ObjectGuid> gos = AI_VALUE(std::list<ObjectGuid>, "nearest game objects");
GuidVector gos = AI_VALUE(GuidVector, "nearest game objects");
for (const auto& go : gos)
{
GameObject* gameobj = botAI->GetGameObject(go);