aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-23 01:08:09 -0500
committermegamage <none@none>2009-08-23 01:08:09 -0500
commitdee4a9fd872c28587efe18f6859b91ce3d5ae805 (patch)
treee1839645709ee3e693a22bdb489c41499b98504f /src/game/SpellHandler.cpp
parentb35fe879ad812947a50666ccc41d3603227291f9 (diff)
*Update flame leviathan script.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r--src/game/SpellHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp
index b41a2a0bf46..500947a321c 100644
--- a/src/game/SpellHandler.cpp
+++ b/src/game/SpellHandler.cpp
@@ -31,6 +31,7 @@
#include "Totem.h"
#include "TemporarySummon.h"
#include "SpellAuras.h"
+#include "CreatureAI.h"
void WorldSession::HandleUseItemOpcode(WorldPacket& recvPacket)
{
@@ -516,6 +517,8 @@ void WorldSession::HandleSpellClick( WorldPacket & recv_data )
if(unit->isVehicle())
_player->EnterVehicle((Vehicle*)unit);
+
+ unit->AI()->DoAction(EVENT_SPELLCLICK);
}
void WorldSession::HandleMirrrorImageDataRequest( WorldPacket & recv_data )