Fix crash in Unit::HandleProcTriggerSpell (Actually in Object::GetUInt32Value when pVictim is null).
Fixes issue #2458. --HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -8278,7 +8278,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
|
|||||||
// Unyielding Knights (item exploit 29108\29109)
|
// Unyielding Knights (item exploit 29108\29109)
|
||||||
case 38164:
|
case 38164:
|
||||||
{
|
{
|
||||||
if (pVictim->GetEntry() != 19457) // Proc only if you target is Grillok
|
if (!pVictim || pVictim->GetEntry() != 19457) // Proc only if your target is Grillok
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user