aboutsummaryrefslogtreecommitdiff
path: root/src/game/UnitAI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/UnitAI.cpp')
-rw-r--r--src/game/UnitAI.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/UnitAI.cpp b/src/game/UnitAI.cpp
index a41ad894097..0f00cd356f2 100644
--- a/src/game/UnitAI.cpp
+++ b/src/game/UnitAI.cpp
@@ -223,6 +223,11 @@ void UnitAI::SelectTargetList(std::list<Unit*> &targetList, uint32 num, SelectAg
}
}
+float UnitAI::DoGetSpellMaxRange(uint32 spellId, bool positive)
+{
+ return GetSpellMaxRange(spellId, positive);
+}
+
void UnitAI::DoCast(uint32 spellId)
{
Unit *target = NULL;