*Temp fix for fall damage.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-13 00:07:58 -06:00
parent 0ea36ed76e
commit be875bc6c0
+3
View File
@@ -18909,6 +18909,9 @@ bool ItemPosCount::isContainedIn(ItemPosCountVec const& vec) const
void Player::HandleFallDamage(MovementInfo& movementInfo)
{
if(movementInfo.fallTime < 1500)
return;
// calculate total z distance of the fall
float z_diff = m_lastFallZ - movementInfo.z;
sLog.outDebug("zDiff = %f", z_diff);