diff options
author | admin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-11-09 23:17:30 +0100 |
---|---|---|
committer | admin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-11-09 23:17:30 +0100 |
commit | 18b75636806a6fb7be0692d0350f54be4fa75348 (patch) | |
tree | ce486f07ad284818afee6254b0e3ac0283b64428 /source/cPlayer.cpp | |
parent | bugfix to redstone, it can climb walls again. (diff) | |
download | cuberite-18b75636806a6fb7be0692d0350f54be4fa75348.tar cuberite-18b75636806a6fb7be0692d0350f54be4fa75348.tar.gz cuberite-18b75636806a6fb7be0692d0350f54be4fa75348.tar.bz2 cuberite-18b75636806a6fb7be0692d0350f54be4fa75348.tar.lz cuberite-18b75636806a6fb7be0692d0350f54be4fa75348.tar.xz cuberite-18b75636806a6fb7be0692d0350f54be4fa75348.tar.zst cuberite-18b75636806a6fb7be0692d0350f54be4fa75348.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cPlayer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cPlayer.cpp b/source/cPlayer.cpp index 62098eb0b..8aefd36ba 100644 --- a/source/cPlayer.cpp +++ b/source/cPlayer.cpp @@ -61,6 +61,7 @@ struct cPlayer::sPlayerState cPlayer::cPlayer(cClientHandle* a_Client, const char* a_PlayerName)
: m_bBurnable(true)
, m_GameMode( 0 )
+ , m_IP("")
, m_LastBlockActionTime( 0 )
, e_EPMetaState(NORMAL)
, m_bVisible( true )
@@ -419,6 +420,10 @@ void cPlayer::SetGameMode( int a_GameMode ) m_GameMode = a_GameMode;
}
+void cPlayer::SetIP( std::string a_IP )
+{
+ m_IP = a_IP;
+}
#ifdef SendMessage // Cause stupid windows.h defines SendMessage as SendMessageA
#undef SendMessage
|