aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 574ef8a50da..e072a0458e7 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8278,8 +8278,8 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
// Unyielding Knights (item exploit 29108\29109)
case 38164:
{
- if (pVictim->GetEntry() != 19457) // Proc only if you target is Grillok
- return false;
+ if (!pVictim || pVictim->GetEntry() != 19457) // Proc only if your target is Grillok
+ return false;
break;
}
// Deflection