Fixed crash after 635f7831e1

This commit is contained in:
yehonal
2017-12-03 05:39:02 +01:00
committed by Yehonal
parent c044cbfdff
commit 52ae84d581

View File

@@ -1568,7 +1568,7 @@ class spell_dk_death_grip : public SpellScriptLoader
if (caster != target)
{
if (targetCreature->isWorldBoss() || targetCreature->IsDungeonBoss())
if (targetCreature && (targetCreature->isWorldBoss() || targetCreature->IsDungeonBoss()))
{
return;
}