summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scripts/Spells/spell_dk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/Spells/spell_dk.cpp b/src/scripts/Spells/spell_dk.cpp
index 445c0d2310..27263233f8 100644
--- a/src/scripts/Spells/spell_dk.cpp
+++ b/src/scripts/Spells/spell_dk.cpp
@@ -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;
}