1
0
Fork 0

Fixed formatting of previous commit.

This commit is contained in:
narroo 2014-02-11 08:01:25 -05:00
parent e8e76a6058
commit d7f32ed682
2 changed files with 7 additions and 2 deletions

View File

@ -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);

View File

@ -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);