[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:
VladimirMangos 2010-09-05 22:59:28 +04:00
parent ddc42c5491
commit e3d9ebe81e
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10447"
#define REVISION_NR "10448"
#endif // __REVISION_NR_H__