aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkrz <none@none>2009-05-25 23:58:40 +0200
committerkrz <none@none>2009-05-25 23:58:40 +0200
commitdd9939942413318c773ad126492e7731fe17a7b7 (patch)
tree06ecfcc022253731b45e521427d91de0393faa28 /src
parentff05e05e71bc5222319d0ebe59289c49fb38f8c8 (diff)
GUARDIAN_PET will be now attackable for players with same faction as summoner if used in arena/duel.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index b75b388a7c7..190f9934b84 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3635,6 +3635,7 @@ void Spell::EffectSummonGuardian(uint32 i)
spawnCreature->SetUInt32Value(UNIT_FIELD_PET_NAME_TIMESTAMP,0);
spawnCreature->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
+ spawnCreature->SetFlag(UNIT_FIELD_FLAGS,UNIT_FLAG_PVP_ATTACKABLE);
}
}