*Fix typo in r7dd45a018254, thanks to Shauren for narrowing the falling issue to that rev.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-13 20:53:33 +02:00
parent e413f20069
commit 8b057babf2
+1 -1
View File
@@ -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)