diff options
author | megamage <none@none> | 2009-04-25 09:15:40 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-25 09:15:40 -0500 |
commit | 8644c48db870b2f33e2b64a62ab8ec1030188067 (patch) | |
tree | b10e62271825bc8351841839b67293ba5d97c4ed /src/game/CreatureEventAI.cpp | |
parent | c4e6f9708fa07baa3ae9f4689e41c5ed98cb05d7 (diff) |
*Add new eventAI action 105 call assistance. Param1 = radius.
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureEventAI.cpp')
-rw-r--r-- | src/game/CreatureEventAI.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp index 72aae0aebf8..c50243b0fb3 100644 --- a/src/game/CreatureEventAI.cpp +++ b/src/game/CreatureEventAI.cpp @@ -998,8 +998,12 @@ void CreatureEventAI::ProcessAction(uint16 type, uint32 param1, uint32 param2, u { sLog.outErrorDb("TSCR: EventAI failed to spawn object %u. Spawn event %d is on creature %d", param1, EventId, m_creature->GetEntry()); } + break; } - break; + case ACTION_T_CALL_ASSISTANCE: + m_creature->SetNoCallAssistance(false); + m_creature->CallAssistance(param1); + break; } } |