aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2010-01-10 02:12:02 +0100
committerQAston <none@none>2010-01-10 02:12:02 +0100
commitc65aa45bc64f7baa35c348a34f05d1d62a02c31a (patch)
treeb02368e5ed613866edc14b0d592660e9e02bb158 /src/game/CreatureEventAI.cpp
parent8417a4fee32d0bedce1d33156c2337326b9b82ea (diff)
*Tabs to spaces
*Fix a type in CreatureEventAI.cpp from last rev --HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureEventAI.cpp')
-rw-r--r--src/game/CreatureEventAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp
index 2f64a75ca7b..ece126b4011 100644
--- a/src/game/CreatureEventAI.cpp
+++ b/src/game/CreatureEventAI.cpp
@@ -311,7 +311,7 @@ bool CreatureEventAI::ProcessEvent(CreatureEventAIHolder& pHolder, Unit* pAction
//Note: checked only aura for effect 0, if need check aura for effect 1/2 then
// possible way: pack in event.buffed.amount 2 uint16 (ammount+effectIdx)
- Aura const * aura = m_creature->GetAura(event.buffed.spellId);
+ Aura const * aura = pActionInvoker->GetAura(event.buffed.spellId);
if(!aura || aura->GetStackAmount() < event.buffed.amount)
return false;