*Fix typo in r7dd45a018254, thanks to Shauren for narrowing the falling issue to that rev.
--HG-- branch : trunk
This commit is contained in:
@@ -22840,7 +22840,7 @@ void Player::HandleFall(MovementInfo const& movementInfo)
|
||||
{
|
||||
uint32 damage = (uint32)(damageperc * GetMaxHealth()*sWorld.getRate(RATE_DAMAGE_FALL));
|
||||
|
||||
float height = movementInfo.t_pos.m_positionZ;
|
||||
float height = movementInfo.pos.m_positionZ;
|
||||
UpdateGroundPositionZ(movementInfo.pos.m_positionX,movementInfo.pos.m_positionY,height);
|
||||
|
||||
if (damage > 0)
|
||||
|
||||
Reference in New Issue
Block a user