aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-14 16:50:47 -0500
committermegamage <none@none>2009-05-14 16:50:47 -0500
commit047cc95388a67d5f33cb86082bbef03f654acec1 (patch)
tree90547d4892aa217a58408b3353fe943dcc51bb7b /src/game/Unit.h
parent811eee356ddd3c0b486a828b39822daffd8ac97e (diff)
*Add some distance check functions. By VladimirMangos.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index bb303473e7b..bbd7471b1b8 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1403,9 +1403,9 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
float GetWeaponDamageRange(WeaponAttackType attType ,WeaponDamageRange type) const;
void SetBaseWeaponDamage(WeaponAttackType attType ,WeaponDamageRange damageRange, float value) { m_weaponDamage[attType][damageRange] = value; }
- bool isInFront(Unit const* target,float distance, float arc = M_PI) const;
+ bool isInFrontInMap(Unit const* target,float distance, float arc = M_PI) const;
void SetInFront(Unit const* target);
- bool isInBack(Unit const* target, float distance, float arc = M_PI) const;
+ bool isInBackInMap(Unit const* target, float distance, float arc = M_PI) const;
bool isInLine(Unit const* target, float distance) const;
// Visibility system