aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-09 22:36:04 -0500
committermegamage <none@none>2009-05-09 22:36:04 -0500
commit9215f0ee11ee6c9236c706b5673f0455d4dcc751 (patch)
treec9a56c72fbd20c1f8809767649441bdf607764ca /src/game/TemporarySummon.cpp
parent883c2ef77da57f12887cfcdbaed03bf1ea50e6b9 (diff)
*Set creature trigger have the same level as caster.
--HG-- branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.cpp')
-rw-r--r--src/game/TemporarySummon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp
index afea0e5ed53..993ece988a0 100644
--- a/src/game/TemporarySummon.cpp
+++ b/src/game/TemporarySummon.cpp
@@ -208,6 +208,7 @@ void TempSummon::InitSummon()
if(GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER && m_spells[0])
{
setFaction(owner->getFaction());
+ SetLevel(owner->getLevel());
CastSpell(this, m_spells[0], false, 0, 0, m_summonerGUID);
}
}