From b653e6a01271c05bdbd947ab7120d10d30ecee91 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 21 Feb 2012 16:27:30 +0000 Subject: Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) Also fixed a threading issue when a player connecting might have gotten stuck in "Downloading world" forever git-svn-id: http://mc-server.googlecode.com/svn/trunk@304 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSignEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cSignEntity.cpp') diff --git a/source/cSignEntity.cpp b/source/cSignEntity.cpp index 618f5960e..c181deae2 100644 --- a/source/cSignEntity.cpp +++ b/source/cSignEntity.cpp @@ -98,7 +98,7 @@ void cSignEntity::SendTo( cClientHandle* a_Client ) } else // broadcast of a_Client == 0 { - m_World->GetChunkOfBlock(m_PosX, m_PosY, m_PosZ)->Broadcast( Sign ); + m_World->BroadcastToChunkOfBlock(m_PosX, m_PosY, m_PosZ, &Sign ); } } -- cgit v1.2.3