From 8ca8b691b8e96f9c75200080046cd517f0e6b592 Mon Sep 17 00:00:00 2001 From: krz Date: Fri, 22 May 2009 19:51:48 +0200 Subject: Target selection for fishing spells. --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Spell.cpp') 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; -- cgit v1.2.3