mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix prioritized targets reset
This commit is contained in:
@@ -682,7 +682,7 @@ void PlayerbotAI::Reset(bool full)
|
||||
|
||||
aiObjectContext->GetValue<Unit*>("old target")->Set(nullptr);
|
||||
aiObjectContext->GetValue<Unit*>("current target")->Set(nullptr);
|
||||
aiObjectContext->GetValue<Unit*>("prioritized targets")->Reset();
|
||||
aiObjectContext->GetValue<GuidVector>("prioritized targets")->Reset();
|
||||
aiObjectContext->GetValue<ObjectGuid>("pull target")->Set(ObjectGuid::Empty);
|
||||
aiObjectContext->GetValue<GuidPosition>("rpg target")->Set(GuidPosition());
|
||||
aiObjectContext->GetValue<LootObject>("loot target")->Set(LootObject());
|
||||
|
||||
Reference in New Issue
Block a user