aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Tools/PlayerDump.cpp
diff options
context:
space:
mode:
authorChaouki Dhib <chaodhib@gmail.com>2016-08-15 18:17:07 +0200
committerShauren <shauren.trinity@gmail.com>2016-08-15 18:17:07 +0200
commitd7600f1126d2780fecdfcdfc66a598a48cee0136 (patch)
tree4570f34a1732aa51aa384bef0f04b28e8463fc4b /src/server/game/Tools/PlayerDump.cpp
parent4a38773e3e74af329aa13e2a506ef824f2a6e4d3 (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.
Diffstat (limited to 'src/server/game/Tools/PlayerDump.cpp')
0 files changed, 0 insertions, 0 deletions