summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-17 19:50:25 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-17 19:50:25 +0200
commitbdea8706d8050ba3ea00b580bba795bc468cfdbd (patch)
tree27ec86d16edadcb0811d609c22b3d6e9168491e8 /src/Entities/Entity.h
parentAdded Prefab initializers to SELFTEST code. (diff)
downloadcuberite-bdea8706d8050ba3ea00b580bba795bc468cfdbd.tar
cuberite-bdea8706d8050ba3ea00b580bba795bc468cfdbd.tar.gz
cuberite-bdea8706d8050ba3ea00b580bba795bc468cfdbd.tar.bz2
cuberite-bdea8706d8050ba3ea00b580bba795bc468cfdbd.tar.lz
cuberite-bdea8706d8050ba3ea00b580bba795bc468cfdbd.tar.xz
cuberite-bdea8706d8050ba3ea00b580bba795bc468cfdbd.tar.zst
cuberite-bdea8706d8050ba3ea00b580bba795bc468cfdbd.zip
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r--src/Entities/Entity.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 6e3f8292b..8fa5a2e42 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -118,7 +118,8 @@ public:
BURN_TICKS = 200, ///< How long to keep an entity burning after it has stood in lava / fire
MAX_AIR_LEVEL = 300, ///< Maximum air an entity can have
DROWNING_TICKS = 20, ///< Number of ticks per heart of damage
- VOID_BOUNDARY = -46 ///< At what position Y to begin applying void damage
+ VOID_BOUNDARY = -46, ///< At what position Y to begin applying void damage
+ FALL_DAMAGE_HEIGHT = 4 ///< At what position Y fall damage is applied
} ;
cEntity(eEntityType a_EntityType, double a_X, double a_Y, double a_Z, double a_Width, double a_Height);