aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-26 19:58:01 +0200
committerQAston <none@none>2009-07-26 19:58:01 +0200
commit190863e5a58364a9f42336e300c836d9ec6242ad (patch)
tree9b668aeda64cecc134a993a4c5186e63e988d821 /src/bindings/scripts
parente36a0f482526af8890745e02da388242ca06a1a8 (diff)
*Update procflags for Imp.Shadowform.
*Use item speed value instead of attack speed value for enchant PPM - by MaS0n. *Correctly apply cooldown to Improved leader of the pack mana regen. *Do not refresh duration when stack from aura is dropped - by Apoc --HG-- branch : trunk
Diffstat (limited to 'src/bindings/scripts')
-rw-r--r--src/bindings/scripts/scripts/npc/npcs_special.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/npc/npcs_special.cpp b/src/bindings/scripts/scripts/npc/npcs_special.cpp
index 6c44b5b9ae3..9bf3113a9c6 100644
--- a/src/bindings/scripts/scripts/npc/npcs_special.cpp
+++ b/src/bindings/scripts/scripts/npc/npcs_special.cpp
@@ -1639,9 +1639,10 @@ CreatureAI* GetAI_mob_mojo(Creature *_Creature)
struct TRINITY_DLL_DECL npc_mirror_image : public SpellAI
{
npc_mirror_image(Creature *c) : SpellAI(c) {}
- Unit * owner;
+
void Reset()
{
+ Unit * owner = NULL;
if (m_creature->isSummon())
owner = ((TempSummon*)me)->GetOwner();
if (!owner)