From 43436c8f303ba228cfc16d26cfdf08a786036eee Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 25 Oct 2008 10:37:28 -0500 Subject: [svn] Continue the work of rewriting spell target selection functions (warning: this may cause some spells broken). Add some spell_script_target. Delete some workaround in scripts (since core provides spell support now). --HG-- branch : trunk --- src/game/SpellMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/SpellMgr.cpp') diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index bafc54ba2f0..efb83aa0fe2 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1793,7 +1793,7 @@ void SpellMgr::LoadSpellScriptTarget() continue; } - bool targetfound = false; + /*bool targetfound = false; for(int i = 0; i <3; ++i) { if( spellProto->EffectImplicitTargetA[i]==TARGET_SCRIPT || @@ -1809,7 +1809,7 @@ void SpellMgr::LoadSpellScriptTarget() { sLog.outErrorDb("Table `spell_script_target`: spellId %u listed for TargetEntry %u does not have any implicit target TARGET_SCRIPT(38) or TARGET_SCRIPT_COORDINATES (46).",spellId,targetEntry); continue; - } + }*/ if( type >= MAX_SPELL_TARGET_TYPE ) { -- cgit v1.2.3