aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-30 19:00:09 -0600
committermegamage <none@none>2009-01-30 19:00:09 -0600
commit9b927d17426caab8b92f5329e9879200cd1d5468 (patch)
treee40cd4a2f553c29811a9b26c5057c4a187e15a39 /src/game/Unit.h
parent8fee06f041fbfbc7e22eccc03a8f12bd7a649999 (diff)
*Fix charge spells: do stun effect when caster arrive target.
*Some other fix about delayed spell calculation. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 69c10400a4c..b1ca703007c 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -390,6 +390,8 @@ enum UnitMoveType
#define MAX_MOVE_TYPE 8
extern float baseMoveSpeed[MAX_MOVE_TYPE];
+// assume it is 25 yard per 0.6 second
+#define SPEED_CHARGE 42.0f
enum WeaponAttackType
{