diff options
author | megamage <none@none> | 2009-03-23 15:26:13 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-23 15:26:13 -0600 |
commit | ba957ed9f476a39f5bbea621814bbe191493428c (patch) | |
tree | ed4eca5202986ac53997c10c783fb7f649611645 /src/game/Unit.h | |
parent | 41a73f284beb26819f75da5c10f174fb24c57bc4 (diff) |
*Allow knockback creatures.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 1f336b55138..e91e0e4f55a 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -443,8 +443,6 @@ enum UnitMoveType #define MAX_MOVE_TYPE 9 extern float baseMoveSpeed[MAX_MOVE_TYPE]; -// assume it is 25 yard per 0.6 second -#define SPEED_CHARGE 42.0f enum WeaponAttackType { @@ -1497,6 +1495,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject float GetSpeed( UnitMoveType mtype ) const; float GetSpeedRate( UnitMoveType mtype ) const { return m_speed_rate[mtype]; } void SetSpeed(UnitMoveType mtype, float rate, bool forced = false); + float m_TempSpeed; void SetHover(bool on); bool isHover() const { return HasAuraType(SPELL_AURA_HOVER); } |