aboutsummaryrefslogtreecommitdiff
path: root/src/game/UnitAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/UnitAI.h')
-rw-r--r--src/game/UnitAI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/UnitAI.h b/src/game/UnitAI.h
index 1b207711420..b45e5fad8d8 100644
--- a/src/game/UnitAI.h
+++ b/src/game/UnitAI.h
@@ -59,11 +59,11 @@ class UnitAI
virtual void OnCharmed(bool apply) = 0;
// Pass parameters between AI
- virtual void DoAction(const int32 param = 0) {}
+ virtual void DoAction(const int32 /*param*/ = 0) {}
virtual uint32 GetData(uint32 /*id = 0*/) { return 0; }
virtual void SetData(uint32 /*id*/, uint32 /*value*/) {}
- virtual void SetGUID(const uint64 &/*guid*/, int32 id = 0) {}
- virtual uint64 GetGUID(int32 id = 0) { return 0; }
+ virtual void SetGUID(const uint64 &/*guid*/, int32 /*id*/ = 0) {}
+ virtual uint64 GetGUID(int32 /*id*/ = 0) { return 0; }
Unit* SelectTarget(SelectAggroTarget targetType, uint32 position = 0, float dist = 0.0f, bool playerOnly = false, int32 aura = 0);
void SelectTargetList(std::list<Unit*> &targetList, uint32 num, SelectAggroTarget targetType, float dist = 0.0f, bool playerOnly = false, int32 aura = 0);