diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-29 14:40:40 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-29 14:40:40 +0100 |
commit | bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb (patch) | |
tree | b26735733f70167a0a274abd8799f98203a57cb5 /source/cClientHandle.cpp | |
parent | Added validity checks to world broadcasting. Also added logging to cPlayer deletion to catch that stupid BugByBoo. (diff) | |
download | cuberite-bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb.tar cuberite-bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb.tar.gz cuberite-bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb.tar.bz2 cuberite-bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb.tar.lz cuberite-bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb.tar.xz cuberite-bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb.tar.zst cuberite-bba824a1c65beaa581c4b8f5eca7c9d2cb1400bb.zip |
Diffstat (limited to 'source/cClientHandle.cpp')
-rw-r--r-- | source/cClientHandle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 7128b925c..f31daf79e 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -261,6 +261,7 @@ void cClientHandle::Kick(const AString & a_Reason) void cClientHandle::Authenticate(void)
{
+ ASSERT( m_Player == NULL );
// Spawn player (only serversided, so data is loaded)
m_Player = new cPlayer(this, GetUsername());
|