aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2008-12-02 22:43:59 +0100
committerQAston <none@none>2008-12-02 22:43:59 +0100
commit8948f417cfc24f0986497e37a56ea757a4e7f86a (patch)
tree7a88375901b1dbee4f2f19fa0712df9a0d3bd415 /src
parent6bf479d9ad6e66fea48a6b69321e08b7da4db1fa (diff)
*Temporary hack to fix shoots minimum range.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellMgr.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}