summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-29 14:40:40 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-29 14:40:40 +0100
commitbba824a1c65beaa581c4b8f5eca7c9d2cb1400bb (patch)
treeb26735733f70167a0a274abd8799f98203a57cb5
parentAdded validity checks to world broadcasting. Also added logging to cPlayer deletion to catch that stupid BugByBoo. (diff)
downloadcuberite-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 '')
-rw-r--r--source/cClientHandle.cpp1
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());