diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-02 19:46:13 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-02 19:46:13 +0200 |
commit | c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda (patch) | |
tree | 1624effc95b97caa3778b6311849a1433bc844fa /src/Entities/Player.h | |
parent | Redstone simulator is alerted to lever unpowering (diff) | |
download | cuberite-c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda.tar cuberite-c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda.tar.gz cuberite-c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda.tar.bz2 cuberite-c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda.tar.lz cuberite-c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda.tar.xz cuberite-c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda.tar.zst cuberite-c1ae5513ec9e9cc3aac641b793a77f3ef4c14bda.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 2f7957f16..9e443b468 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -546,6 +546,11 @@ protected: Default save interval is #defined in PLAYER_INVENTORY_SAVE_INTERVAL */ unsigned int m_TicksUntilNextSave; + /** Flag used by food handling system to determine whether a teleport has just happened + Will not apply food penalties if found to be true; will set to false after processing + */ + bool m_bIsTeleporting; + } ; // tolua_export |