aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-08-06 23:10:36 +0200
committerQAston <none@none>2009-08-06 23:10:36 +0200
commit50c73d433ce54b5c119058ee295d0ffaa5ac95bc (patch)
tree28338ea9d0f522e0bbc32b011c5068e573e0a56b /src/game/SpellEffects.cpp
parent91885a77903666d9c14856972e2f2dded5dea3f3 (diff)
*Add SpellCasterAI as a framework for casting only units (like ebon gargoyle or mirror image.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 5412277d752..afb1b00648a 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -6856,7 +6856,6 @@ void Spell::SummonGuardian(uint32 entry, SummonPropertiesEntry const *properties
TempSummon *summon = map->SummonCreature(entry, px, py, pz, m_caster->GetOrientation(), properties, duration, caster);
if(!summon)
return;
-
if(summon->HasSummonMask(SUMMON_MASK_GUARDIAN))
((Guardian*)summon)->InitStatsForLevel(level);