mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix talk crash by correcting "nearest game objects"
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user