mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix talk crash by correcting "nearest game objects"
This commit is contained in:
parent
106b36b498
commit
9f34d4a7f7
@ -53,7 +53,7 @@ bool QuestAction::Execute(Event event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Checks the nearest game objects
|
// 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)
|
for (const auto& go : gos)
|
||||||
{
|
{
|
||||||
GameObject* gameobj = botAI->GetGameObject(go);
|
GameObject* gameobj = botAI->GetGameObject(go);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user