cChunk is not to be u sed directly?
#1
In the header of the cChunk class, I noticed this comment:

Quote:This class is not to be used directly, instead call actions on cChunkMap (such as cChunkMap::SetBlock()

This is far from reality. cChunk is used directly everywhere. Is this comment up to date?
Reply
Thanks given by:
#2
It can only be used directly when cChunkMap's mutual exclusion is locked. After #3115, it can only be used within the context of the owning chunkmap's owning world's tick thread.

It's sort of up to date.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)