diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-17 15:04:08 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-17 15:08:37 +0100 |
commit | 3c91ad8fc2b7a7888503e85d31bfe286afa6560d (patch) | |
tree | 3003e3fe5a9617651dc512f828ac7cbc3d5d155b /src/map.h | |
parent | 24315db6ef90125c3c62327f2ace654b548811ac (diff) | |
download | minetest-3c91ad8fc2b7a7888503e85d31bfe286afa6560d.tar.gz minetest-3c91ad8fc2b7a7888503e85d31bfe286afa6560d.tar.bz2 minetest-3c91ad8fc2b7a7888503e85d31bfe286afa6560d.zip |
Replace std::list by std::vector into timerUpdate calls
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 4 |
1 files changed, 2 insertions, 2 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 |