summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-10-08 11:22:41 +0200
committerGitHub <noreply@github.com>2016-10-08 11:22:41 +0200
commitfb1a130964958c7e404bb6652c0b063bf48441dc (patch)
treeb984b6ab1726354c9b5888e38de23b9bac40e68a
parentMerge pull request #3394 from cuberite/FixApiDesc (diff)
parentInitialize m_bIsInBed in cPlayer constructor. (diff)
downloadcuberite-fb1a130964958c7e404bb6652c0b063bf48441dc.tar
cuberite-fb1a130964958c7e404bb6652c0b063bf48441dc.tar.gz
cuberite-fb1a130964958c7e404bb6652c0b063bf48441dc.tar.bz2
cuberite-fb1a130964958c7e404bb6652c0b063bf48441dc.tar.lz
cuberite-fb1a130964958c7e404bb6652c0b063bf48441dc.tar.xz
cuberite-fb1a130964958c7e404bb6652c0b063bf48441dc.tar.zst
cuberite-fb1a130964958c7e404bb6652c0b063bf48441dc.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 889aef778..5ab5e4567 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -84,6 +84,7 @@ cPlayer::cPlayer(cClientHandlePtr a_Client, const AString & a_PlayerName) :
m_BowCharge(0),
m_FloaterID(cEntity::INVALID_ID),
m_Team(nullptr),
+ m_bIsInBed(false),
m_TicksUntilNextSave(PLAYER_INVENTORY_SAVE_INTERVAL),
m_bIsTeleporting(false),
m_UUID((a_Client != nullptr) ? a_Client->GetUUID() : ""),