aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-09-02 18:31:49 -0500
committermegamage <none@none>2009-09-02 18:31:49 -0500
commitcda1de00c91347c2df07186021bc29d93b219710 (patch)
tree27e0b1d6d8a4e8510fea795a2ed80b56d1bd231d /src/game/Unit.cpp
parentea12ff233b985bd9db6f99eee07fefde80811a94 (diff)
[8452] Add describtion for two attributes flags.
Signed-off-by: hunuza <hunuza@gmail.com> --HG-- branch : trunk
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))