summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-15 21:28:08 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-15 21:28:08 +0200
commitabbd11be6da261293f2086135e05e9a0659220f2 (patch)
tree249a651c23b504a0ea344087d63a6f9c1061bc27 /src/Entities/Player.h
parentFixed two redstone bugs (diff)
downloadcuberite-abbd11be6da261293f2086135e05e9a0659220f2.tar
cuberite-abbd11be6da261293f2086135e05e9a0659220f2.tar.gz
cuberite-abbd11be6da261293f2086135e05e9a0659220f2.tar.bz2
cuberite-abbd11be6da261293f2086135e05e9a0659220f2.tar.lz
cuberite-abbd11be6da261293f2086135e05e9a0659220f2.tar.xz
cuberite-abbd11be6da261293f2086135e05e9a0659220f2.tar.zst
cuberite-abbd11be6da261293f2086135e05e9a0659220f2.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 83b9ad593..a9acf6efc 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -461,7 +461,6 @@ protected:
cItem m_DraggingItem;
long long m_LastPlayerListTime;
- static const unsigned short PLAYER_LIST_TIME_MS = 1000; // 1000 = once per second
cClientHandle * m_ClientHandle;
@@ -539,6 +538,10 @@ protected:
Set by a right click on unoccupied bed, unset by a time fast forward or teleport */
bool m_bIsInBed;
+ /** How long till the player's inventory will be saved
+ Default save interval is #defined in PLAYER_INVENTORY_SAVE_INTERVAL */
+ unsigned int m_TicksUntilNextSave;
+
} ; // tolua_export