Fix possible mem leak on vigilance

This commit is contained in:
Yunfan Li
2025-01-19 21:47:10 +08:00
parent 099d4bdd22
commit 4c1469fc58
2 changed files with 7 additions and 7 deletions

View File

@@ -140,7 +140,7 @@ class CastVigilanceAction : public BuffOnPartyAction
public:
CastVigilanceAction(PlayerbotAI* botAI) : BuffOnPartyAction(botAI, "vigilance") {}
Value<Unit*>* GetTargetValue() override;
Unit* GetTarget() override;
bool Execute(Event event) override;
};