From 50c73d433ce54b5c119058ee295d0ffaa5ac95bc Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 6 Aug 2009 23:10:36 +0200 Subject: *Add SpellCasterAI as a framework for casting only units (like ebon gargoyle or mirror image. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/game/SpellEffects.cpp') 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); -- cgit v1.2.3