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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 8e00fb6ac16..eba87182585 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -7677,7 +7677,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
case 48090:
{
// Get talent aura from owner
- if (GetTypeId() == TYPEID_UNIT && ((Creature*)this)->isPet())
+ if (isPet())
if (Unit * owner = GetOwner())
{
if (AuraEffect * aurEff = owner->GetDummyAura(SPELLFAMILY_WARLOCK, 3220, 0))