Core/Spells: Fix crash in Glyph of Rake

This commit is contained in:
Machiavelli
2011-11-20 16:05:41 +01:00
parent 0442eb1d9f
commit 32bcee40bf
+1 -1
View File
@@ -6290,7 +6290,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
{
if (procSpell->SpellVisual[0] == 750 && procSpell->Effects[1].ApplyAuraName == 3)
{
if (target->GetTypeId() == TYPEID_UNIT)
if (target && target->GetTypeId() == TYPEID_UNIT)
{
triggered_spell_id = 54820;
break;