summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorDevToaster <blazetoaster@gmail.com>2015-03-31 17:03:35 +0200
committerDevToaster <blazetoaster@gmail.com>2015-03-31 17:03:35 +0200
commit45c84ea93318a4ab8921a20d7d2c086cfc313999 (patch)
tree2e802814ec3da8fa341e9ad73a588f01fd4b5e2d /src/Entities/Entity.h
parentAdjusted projectile physics (diff)
downloadcuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.gz
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.bz2
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.lz
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.xz
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.zst
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 2c994c550..dd6190ced 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -508,8 +508,10 @@ protected:
For realistic effects, this should be negative. For spaaaaaaace, this can be zero or even positive */
float m_Gravity;
- /** Stores the air drag that is applied to the entity every tick, measured in speed ratio per second
- Acts as air friction and slows down flight */
+ /** Stores the air drag that is applied to the entity every tick, measured in speed ratio per tick
+ Acts as air friction and slows down flight
+ Will be interpolated if the server tick rate varies
+ Data: http://minecraft.gamepedia.com/Entity#Motion_of_entities */
float m_AirDrag;
/** Last position sent to client via the Relative Move or Teleport packets (not Velocity)