summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2015-02-06 21:42:32 +0100
committerHowaner <franzi.moos@googlemail.com>2015-02-07 10:46:01 +0100
commit7813cd20222451f3f1f02b3264bb2d689006f95a (patch)
tree431cba4f4e13d4548b3189ed0c5498cf242d0994 /src/Entities/Entity.h
parentAdded IsOnGround() to cEntity (diff)
downloadcuberite-7813cd20222451f3f1f02b3264bb2d689006f95a.tar
cuberite-7813cd20222451f3f1f02b3264bb2d689006f95a.tar.gz
cuberite-7813cd20222451f3f1f02b3264bb2d689006f95a.tar.bz2
cuberite-7813cd20222451f3f1f02b3264bb2d689006f95a.tar.lz
cuberite-7813cd20222451f3f1f02b3264bb2d689006f95a.tar.xz
cuberite-7813cd20222451f3f1f02b3264bb2d689006f95a.tar.zst
cuberite-7813cd20222451f3f1f02b3264bb2d689006f95a.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 4a819fa4a..809e974d2 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -444,8 +444,8 @@ public:
/** Set the invulnerable ticks from the entity */
void SetInvulnerableTicks(int a_InvulnerableTicks) { m_InvulnerableTicks = a_InvulnerableTicks; }
- /** Returns whether the player is on ground or not */
- bool IsOnGround(void) const { return m_bOnGround; }
+ /** Returns whether the entity is on ground or not */
+ virtual bool IsOnGround(void) const { return m_bOnGround; }
// tolua_end