diff options
Diffstat (limited to 'src/game/UnitAI.h')
-rw-r--r-- | src/game/UnitAI.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/UnitAI.h b/src/game/UnitAI.h index 3458eda9b36..ba6704d897f 100644 --- a/src/game/UnitAI.h +++ b/src/game/UnitAI.h @@ -45,6 +45,7 @@ class TRINITY_DLL_SPEC UnitAI Unit * const me; public: explicit UnitAI(Unit *u) : me(u) {} + virtual bool CanAIAttack(const Unit *who) const { return true; } virtual void AttackStart(Unit *); virtual void UpdateAI(const uint32 diff) = 0; |