diff options
| author | megamage <none@none> | 2009-06-18 17:05:01 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-18 17:05:01 -0500 |
| commit | c4a8da0e32d43099c3bc3797aecc94070ab6a0d3 (patch) | |
| tree | d2ac4e929e36858a3fa8ad14d9254d2f034e3f3e /src/game/CreatureEventAI.cpp | |
| parent | 2d7a579dab8141577cd4205450affbc45737a870 (diff) | |
[8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI. Author: NoFantasy
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureEventAI.cpp')
| -rw-r--r-- | src/game/CreatureEventAI.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp index 3d83b2c4fb4..8aa4cf38b49 100644 --- a/src/game/CreatureEventAI.cpp +++ b/src/game/CreatureEventAI.cpp @@ -791,6 +791,11 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32 m_creature->SetSheath(SheathState(action.set_sheath.sheath)); break; } + case ACTION_T_FORCE_DESPAWN: + { + m_creature->ForcedDespawn(); + break; + } } } |
