aboutsummaryrefslogtreecommitdiff
path: root/src/game/CombatAI.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-26 16:54:59 -0500
committermegamage <none@none>2009-08-26 16:54:59 -0500
commita35991c8365575226394f90071dc97894e94f21c (patch)
tree450f5f2eec929dacc5c09f1e13c9eaa7a75a81ba /src/game/CombatAI.h
parentdad2c55287d4a9c35cbfa1ad4e8d3e8e8255f588 (diff)
*Add function CanAIAttack
--HG-- branch : trunk
Diffstat (limited to 'src/game/CombatAI.h')
-rw-r--r--src/game/CombatAI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/CombatAI.h b/src/game/CombatAI.h
index 96f46d73b5b..5ded95601ae 100644
--- a/src/game/CombatAI.h
+++ b/src/game/CombatAI.h
@@ -81,6 +81,7 @@ struct TRINITY_DLL_SPEC TurretAI : public CreatureAI
{
public:
explicit TurretAI(Creature *c);
+ bool CanAIAttack(const Unit *who) const;
void AttackStart(Unit *who);
void UpdateAI(const uint32 diff);