aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-09 10:58:31 -0500
committermegamage <none@none>2009-05-09 10:58:31 -0500
commit0681a2131edf0e05adfe1794829f48fe7a4742e3 (patch)
tree8537ada281778b47c681e6929774d7b86b4eb827 /src
parente35d07ad81f5acedcbe436bf429db5581edc6b81 (diff)
*Fix a bug that guardian pets do not have correct stats.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/TemporarySummon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp
index 170e590fd9c..14a347ee4bd 100644
--- a/src/game/TemporarySummon.cpp
+++ b/src/game/TemporarySummon.cpp
@@ -309,6 +309,8 @@ void Guardian::InitStats(uint32 duration)
{
Minion::InitStats(duration);
+ InitStatsForLevel(m_owner->getLevel());
+
if(m_owner->GetTypeId() == TYPEID_PLAYER)
m_charmInfo->InitCharmCreateSpells();