diff options
author | krz <none@none> | 2009-05-22 19:51:48 +0200 |
---|---|---|
committer | krz <none@none> | 2009-05-22 19:51:48 +0200 |
commit | 8ca8b691b8e96f9c75200080046cd517f0e6b592 (patch) | |
tree | 5acd8531ecfe4a40822d997b2ca95b1515cf74fd | |
parent | fcbcf595113bb9b2c256fd5652adafa79ba89b78 (diff) |
Target selection for fishing spells.
--HG--
branch : trunk
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 9c4681d2f1c..6aca2ae028e 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1598,7 +1598,7 @@ void Spell::SetTargetMap(uint32 i, uint32 cur) break; case TARGET_UNIT_CASTER_FISHING: { - AddUnitTarget(m_caster, i); + //AddUnitTarget(m_caster, i); float min_dis = GetSpellMinRange(sSpellRangeStore.LookupEntry(m_spellInfo->rangeIndex)); float max_dis = GetSpellMaxRange(sSpellRangeStore.LookupEntry(m_spellInfo->rangeIndex)); float dis = m_caster->GetMap()->rand_norm() * (max_dis - min_dis) + min_dis; |