diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-21 13:52:14 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-21 13:52:14 +0100 |
commit | afaf104b4086dbc5245f92a209cb68a088780ebb (patch) | |
tree | 82bdb4f173cda642566206066f8fdd27b9f725b5 /source/Player.cpp | |
parent | Added "Latest version" to the PrimaryServerVersion in webadmin settings (patch contributed by STR_Warrior) (diff) | |
download | cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.gz cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.bz2 cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.lz cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.xz cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.tar.zst cuberite-afaf104b4086dbc5245f92a209cb68a088780ebb.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Player.cpp b/source/Player.cpp index c5779ef5a..a5d915572 100644 --- a/source/Player.cpp +++ b/source/Player.cpp @@ -33,7 +33,8 @@ cPlayer::cPlayer(cClientHandle* a_Client, const AString & a_PlayerName) - : m_GameMode(eGameMode_NotSet) + : super(etPlayer) + , m_GameMode(eGameMode_NotSet) , m_IP("") , m_LastBlockActionTime( 0 ) , m_LastBlockActionCnt( 0 ) @@ -54,7 +55,6 @@ cPlayer::cPlayer(cClientHandle* a_Client, const AString & a_PlayerName) a_PlayerName.c_str(), a_Client->GetIPString().c_str(), this, GetUniqueID() ); - m_EntityType = eEntityType_Player; m_InventoryWindow = new cInventoryWindow(*this); m_CurrentWindow = m_InventoryWindow; |