aboutsummaryrefslogtreecommitdiff
path: root/dep/recastnavigation/Recast/Source/Recast.cpp
diff options
context:
space:
mode:
authorChaouki Dhib <chaodhib@gmail.com>2016-08-15 18:17:07 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-12 15:32:29 +0100
commit66d36839f092bb1016391a93b6b03733d1cd42bb (patch)
treecc5041929963090c5114e163fb9805c173486c93 /dep/recastnavigation/Recast/Source/Recast.cpp
parent2560066b847dc2131ecda459227229b25fbc52a1 (diff)
Core/Units: Fixed melee range check (#17693)
* Split Spell::CheckRange() into 2 methods since that method had more than one responsibility. * Moved melee range logic into its own function * Moved melee range logic method GetMeleeRange from Spell to Unit class. Unit::IsWithinMeleeRange() and Spell::GetMinMaxRange() both use that method. (cherry picked from commit d7600f1126d2780fecdfcdfc66a598a48cee0136) # Conflicts: # src/server/game/Entities/Unit/Unit.cpp # src/server/game/Entities/Unit/Unit.h # src/server/game/Spells/Spell.cpp
Diffstat (limited to 'dep/recastnavigation/Recast/Source/Recast.cpp')
0 files changed, 0 insertions, 0 deletions