mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10448] Use base run speed * 2 as fall speed.
It equal to base flight speed and not dependent from real creature speed as expected.
This commit is contained in:
parent
ddc42c5491
commit
e3d9ebe81e
2 changed files with 3 additions and 3 deletions
|
|
@ -1439,8 +1439,8 @@ bool Creature::FallGround()
|
|||
float dz = tz - GetPositionZ();
|
||||
float distance = sqrt(dz*dz);
|
||||
|
||||
// flight speed * 2 explicit, not verified though but result looks proper
|
||||
double speed = GetSpeed(MOVE_FLIGHT) * 2;
|
||||
// default run speed * 2 explicit, not verified though but result looks proper
|
||||
double speed = baseMoveSpeed[MOVE_RUN] * 2;
|
||||
|
||||
speed *= 0.001; // to milliseconds
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue