Fix a crash in npc_drakuru_shacklesAI.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-12-19 13:49:26 +01:00
parent f3987b72ae
commit ab991b1e8f

View File

@@ -53,12 +53,12 @@ struct TRINITY_DLL_DECL npc_drakuru_shacklesAI : public ScriptedAI
if (!pWho)
return;
Rageclaw = pWho;
if (bLocking)
{
if (pWho)
{
Rageclaw = pWho;
m_creature->SetInFront(Rageclaw);
Rageclaw->SetInFront(m_creature);