From cda1de00c91347c2df07186021bc29d93b219710 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 2 Sep 2009 18:31:49 -0500 Subject: [8452] Add describtion for two attributes flags. Signed-off-by: hunuza --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') 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)) -- cgit v1.2.3