mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
*Temporary hack to fix shoots minimum range.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user