diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-11-10 14:02:07 +0100 |
---|---|---|
committer | Gargaj <gargaj@conspiracy.hu> | 2015-12-13 15:16:15 +0100 |
commit | 66e65898838e3d5d40dfb225fd6c34f0f354b2e3 (patch) | |
tree | 159a72d2f877d4672d1a633853584c5b5e723f21 /src/Entities/Pawn.h | |
parent | Merge pull request #2743 from SafwatHalaby/wart (diff) | |
download | cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.gz cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.bz2 cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.lz cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.xz cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.zst cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Pawn.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h index 67878f699..0ceb1073e 100644 --- a/src/Entities/Pawn.h +++ b/src/Entities/Pawn.h @@ -25,7 +25,8 @@ public: virtual bool IsFireproof(void) const override; virtual void HandleAir(void) override; - + virtual void HandleFalling(void); + // tolua_begin /** Applies an entity effect @@ -49,12 +50,15 @@ public: /** Removes all currently applied entity effects (used when drinking milk) */ void ClearEntityEffects(void); - + // tolua_end protected: typedef std::map<cEntityEffect::eType, cEntityEffect *> tEffectMap; tEffectMap m_EntityEffects; + + double m_LastGroundHeight; + bool m_bTouchGround; } ; // tolua_export |