aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-17 06:52:42 +0100
committern0n4m3 <none@none>2009-12-17 06:52:42 +0100
commit3b9a93bfc4625575d22f087a46e60e4f0566b8f4 (patch)
tree6d247979b86088cc910cc4175c8da212a9487ecc
parent365f0ae5626f86e5a8b38b45cb2a9bdb95d6d7ad (diff)
Fixed Mirror Image DisplayId from owner, by Alexsot
--HG-- branch : trunk
-rw-r--r--src/game/Pet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 446625bda2b..d60e0f91e79 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -960,6 +960,7 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
case 31216: // Mirror Image
{
SetBonusDamage(int32(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_FROST) * 0.33f));
+ SetDisplayId(m_owner->GetDisplayId());
if (!pInfo)
{
SetCreateMana(28 + 30*petlevel);