1
0

Entities fall 3x slower in water

This commit is contained in:
madmaxoft
2013-08-27 19:56:54 +02:00
parent 49d69a0228
commit f260e9211f
2 changed files with 2 additions and 2 deletions

View File

@@ -529,7 +529,7 @@ void cEntity::HandlePhysics(float a_Dt, cChunk & a_Chunk)
float fallspeed;
if (IsBlockWater(BlockIn))
{
fallspeed = -3.0f * a_Dt; // Fall slower in water.
fallspeed = m_Gravity * a_Dt / 3; // Fall 3x slower in water.
}
else if (BlockIn == E_BLOCK_COBWEB)
{