1
0

Merge pull request #3395 from sgtbigman/initialize-player-is-in-bed

Initialize m_bIsInBed in cPlayer constructor.
This commit is contained in:
Mattes D 2016-10-08 11:22:41 +02:00 committed by GitHub
commit fb1a130964

View File

@ -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() : ""),