diff options
| author | megamage <none@none> | 2008-10-25 10:37:28 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2008-10-25 10:37:28 -0500 |
| commit | 43436c8f303ba228cfc16d26cfdf08a786036eee (patch) | |
| tree | 8c5b45b39643603e23caa86cb53658ec12053dec /src/game/SpellMgr.cpp | |
| parent | e22427d4b0f962729957d6dd6aeb85975419cd18 (diff) | |
[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
Diffstat (limited to 'src/game/SpellMgr.cpp')
| -rw-r--r-- | src/game/SpellMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { |
