mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Replace std::list by std::vector into timerUpdate calls
This commit is contained in:
parent
24315db6ef
commit
3c91ad8fc2
3 changed files with 9 additions and 10 deletions
|
@ -277,13 +277,13 @@ public:
|
|||
Saves modified blocks before unloading on MAPTYPE_SERVER.
|
||||
*/
|
||||
void timerUpdate(float dtime, float unload_timeout,
|
||||
std::list<v3s16> *unloaded_blocks=NULL);
|
||||
std::vector<v3s16> *unloaded_blocks=NULL);
|
||||
|
||||
/*
|
||||
Unloads all blocks with a zero refCount().
|
||||
Saves modified blocks before unloading on MAPTYPE_SERVER.
|
||||
*/
|
||||
void unloadUnreferencedBlocks(std::list<v3s16> *unloaded_blocks=NULL);
|
||||
void unloadUnreferencedBlocks(std::vector<v3s16> *unloaded_blocks=NULL);
|
||||
|
||||
// Deletes sectors and their blocks from memory
|
||||
// Takes cache into account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue