diff options
| author | Chaouki Dhib <chaodhib@gmail.com> | 2016-08-15 18:17:07 +0200 | 
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2016-08-15 18:17:07 +0200 | 
| commit | d7600f1126d2780fecdfcdfc66a598a48cee0136 (patch) | |
| tree | 4570f34a1732aa51aa384bef0f04b28e8463fc4b /src/server/game/Tools/PlayerDump.cpp | |
| parent | 4a38773e3e74af329aa13e2a506ef824f2a6e4d3 (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
