From 8948f417cfc24f0986497e37a56ea757a4e7f86a Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 2 Dec 2008 22:43:59 +0100 Subject: *Temporary hack to fix shoots minimum range. --HG-- branch : trunk --- src/game/SpellMgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 5c42aa8d4ea..2886affc8b6 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -96,7 +96,8 @@ float GetSpellMinRange(SpellRangeEntry const *range) return 0; if (!range->minRange) if (range->flags==SPELL_RANGE_RANGED) - return 5.0; + //return 5.0; + return 2.0;//this is a hack, needs fix return range->minRange; } -- cgit v1.2.3