diff options
author | madmaxoft <github@xoft.cz> | 2013-08-27 19:56:54 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-27 19:56:54 +0200 |
commit | f260e9211fcba6f65fd131a34a75d288a10d5ebe (patch) | |
tree | d5608458e9e336b6c8df590cf89d0b4b074cf009 /source/Entities/Entity.cpp | |
parent | Debug logging for arrows improved (diff) | |
download | cuberite-f260e9211fcba6f65fd131a34a75d288a10d5ebe.tar cuberite-f260e9211fcba6f65fd131a34a75d288a10d5ebe.tar.gz cuberite-f260e9211fcba6f65fd131a34a75d288a10d5ebe.tar.bz2 cuberite-f260e9211fcba6f65fd131a34a75d288a10d5ebe.tar.lz cuberite-f260e9211fcba6f65fd131a34a75d288a10d5ebe.tar.xz cuberite-f260e9211fcba6f65fd131a34a75d288a10d5ebe.tar.zst cuberite-f260e9211fcba6f65fd131a34a75d288a10d5ebe.zip |
Diffstat (limited to 'source/Entities/Entity.cpp')
-rw-r--r-- | source/Entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Entities/Entity.cpp b/source/Entities/Entity.cpp index 608f5a73b..b936d8d73 100644 --- a/source/Entities/Entity.cpp +++ b/source/Entities/Entity.cpp @@ -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) { |