Skip to content

Commit

Permalink
[10448] Use base run speed * 2 as fall speed.
Browse files Browse the repository at this point in the history
It equal to base flight speed and not dependent from real creature speed as expected.
  • Loading branch information
VladimirMangos committed Sep 5, 2010
1 parent 8c4c650 commit 1dd3b14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/Creature.cpp
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10447"
#define REVISION_NR "10448"
#endif // __REVISION_NR_H__

0 comments on commit 1dd3b14

Please sign in to comment.