Skip to content

Commit

Permalink
Merge pull request #879 from liyunfan1223/fix_crash_talk
Browse files Browse the repository at this point in the history
Fix talk crash by correcting "nearest game objects"
  • Loading branch information
liyunfan1223 authored Jan 19, 2025
2 parents 106b36b + 9f34d4a commit 7dcf138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strategy/actions/QuestAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7dcf138

Please sign in to comment.