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
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user