aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-09-12 00:19:10 +0200
committerQAston <qaston@gmail.com>2011-09-12 00:20:37 +0200
commitec7da6f911b1597a7eac64f6a2b15734eccfc403 (patch)
tree70c8177166c23d2615b3fbf11dfe9885a2a51144 /src/server/scripts
parentdad5b0bb3c1cc0d68c4e8e24a82bc0a851236d1d (diff)
Core/ScriptedAI: remove ScriptedAI::CanCast function which is not functioning properly (compare that func with Spell::CheckCast to see how it should work) and is unused. Closes #2275.
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
index 1e061c38c08..a577f2becf3 100644
--- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
+++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
@@ -1505,8 +1505,7 @@ class npc_captain_grondel : public CreatureScript
switch (eventId)
{
case EVENT_GRONDEL_CHARGE_CHECK:
- if (CanCast(me->getVictim(), sSpellMgr->GetSpellInfo(SPELL_CHARGE)))
- DoCastVictim(SPELL_CHARGE);
+ DoCastVictim(SPELL_CHARGE);
Events.ScheduleEvent(EVENT_GRONDEL_CHARGE_CHECK, 500);
break;
case EVENT_GRONDEL_MORTAL_STRIKE: