aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp2
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;