Fixed formatting of previous commit.
This commit is contained in:
parent
e8e76a6058
commit
d7f32ed682
@ -2213,6 +2213,9 @@ void cWorld::UnloadUnusedChunks(void)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cWorld::QueueUnloadUnusedChunks(void)
|
||||
{
|
||||
QueueTask(new cWorld::cTaskUnloadUnusedChunks);
|
||||
@ -2220,6 +2223,8 @@ void cWorld::QueueUnloadUnusedChunks(void)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cWorld::CollectPickupsByPlayer(cPlayer * a_Player)
|
||||
{
|
||||
m_ChunkMap->CollectPickupsByPlayer(a_Player);
|
||||
|
@ -253,10 +253,10 @@ public:
|
||||
bool HasChunkAnyClients(int a_ChunkX, int a_ChunkZ) const;
|
||||
|
||||
|
||||
/*Unloads all chunks immediately. Dangerous interface, may deadlock, use QueueUnloadUnusedChunks() instead*/
|
||||
/** Unloads all chunks immediately. Dangerous interface, may deadlock, use QueueUnloadUnusedChunks() instead*/
|
||||
void UnloadUnusedChunks(void);
|
||||
|
||||
/*Queues a task to unload unused chunks onto the tick thread. The prefferred way of unloading*/
|
||||
/** Queues a task to unload unused chunks onto the tick thread. The prefferred way of unloading*/
|
||||
void QueueUnloadUnusedChunks(void); // tolua_export
|
||||
|
||||
void CollectPickupsByPlayer(cPlayer * a_Player);
|
||||
|
Loading…
Reference in New Issue
Block a user