aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-08 22:28:19 -0600
committermegamage <none@none>2009-02-08 22:28:19 -0600
commit6829acb5120a689999b9a6df464a62fa1fe6a8b3 (patch)
treed087741cfce70530633378eeece176366a61e476 /src
parent0058e7c20a48e24ed11ece1c7fd2a94289d9aea5 (diff)
*Try to fix the crash caused by Illidan and Supremus.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp2
-rw-r--r--src/bindings/scripts/scripts/zone/black_temple/boss_supremus.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp b/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp
index b104dba5807..813705739a5 100644
--- a/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp
+++ b/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp
@@ -1786,7 +1786,7 @@ struct TRINITY_DLL_DECL blade_of_azzinothAI : public NullCreatureAI
void SpellHit(Unit *caster, const SpellEntry *spell)
{
if(spell->Id == SPELL_THROW_GLAIVE2 || spell->Id == SPELL_THROW_GLAIVE)
- m_creature->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21431);//appear when hit by Illidan's glaive
+ me->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21431);//appear when hit by Illidan's glaive
}
};
diff --git a/src/bindings/scripts/scripts/zone/black_temple/boss_supremus.cpp b/src/bindings/scripts/scripts/zone/black_temple/boss_supremus.cpp
index ae3955ac6e2..7b772cbeb26 100644
--- a/src/bindings/scripts/scripts/zone/black_temple/boss_supremus.cpp
+++ b/src/bindings/scripts/scripts/zone/black_temple/boss_supremus.cpp
@@ -44,8 +44,8 @@ struct TRINITY_DLL_DECL molten_flameAI : public NullCreatureAI
molten_flameAI(Creature *c) : NullCreatureAI(c)
{
float x, y, z;
- m_creature->GetNearPoint(m_creature, x, y, z, 1, 50, M_PI*2*rand_norm());
- m_creature->GetMotionMaster()->MovePoint(0, x, y, z);
+ me->GetNearPoint(me, x, y, z, 1, 50, M_PI*2*rand_norm());
+ me->GetMotionMaster()->MovePoint(0, x, y, z);
}
};