diff options
author | megamage <none@none> | 2009-05-02 19:19:54 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-02 19:19:54 -0500 |
commit | cbc3d1580470d80080b42695e2a037d5be12d6f6 (patch) | |
tree | a7a558e6c0e7e1e118874364ae25b9a02a8516c5 /src | |
parent | 83a383a4604591b2eaa5c258c4ecf118b12ff7de (diff) |
*Fix a typo in settargetmap.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 36a73ba3109..a5014a3403a 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1993,9 +1993,9 @@ void Spell::SetTargetMap(uint32 i, uint32 cur) sLog.outErrorDb("Spell (ID: %u) (caster Entry: %u) does not have record in `spell_script_target`", m_spellInfo->Id, m_caster->GetEntry()); if(IsPositiveEffect(m_spellInfo->Id, i)) - SearchAreaTarget(unitList, radius, PUSH_DST_CENTER, SPELL_TARGETS_ALLY); + SearchAreaTarget(unitList, radius, pushType, SPELL_TARGETS_ALLY); else - SearchAreaTarget(unitList, radius, PUSH_DST_CENTER, SPELL_TARGETS_ENEMY); + SearchAreaTarget(unitList, radius, pushType, SPELL_TARGETS_ENEMY); } // let it be done in one check? else @@ -2003,7 +2003,7 @@ void Spell::SetTargetMap(uint32 i, uint32 cur) for(SpellScriptTarget::const_iterator i_spellST = lower; i_spellST != upper; ++i_spellST) { if(i_spellST->second.type == SPELL_TARGET_TYPE_CREATURE) - SearchAreaTarget(unitList, radius, PUSH_DST_CENTER, SPELL_TARGETS_ENTRY, i_spellST->second.targetEntry); + SearchAreaTarget(unitList, radius, pushType, SPELL_TARGETS_ENTRY, i_spellST->second.targetEntry); } } break; |