diff options
author | est31 <MTest31@outlook.com> | 2015-08-10 22:24:47 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-08-13 07:56:07 +0200 |
commit | a8e238ed06ee8285ed4459e9deda3117419837f6 (patch) | |
tree | 9d2d9caee1f9d1a3944d1ba078e7df6e9f13d7c3 /src/map.h | |
parent | 2b04ab874d75711bc021a0cd8dc7fca68f4e6929 (diff) | |
download | minetest-a8e238ed06ee8285ed4459e9deda3117419837f6.tar.gz minetest-a8e238ed06ee8285ed4459e9deda3117419837f6.tar.bz2 minetest-a8e238ed06ee8285ed4459e9deda3117419837f6.zip |
Add count based unload limit for mapblocks
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -277,7 +277,7 @@ public: Updates usage timers and unloads unused blocks and sectors. Saves modified blocks before unloading on MAPTYPE_SERVER. */ - void timerUpdate(float dtime, float unload_timeout, + void timerUpdate(float dtime, float unload_timeout, u32 max_loaded_blocks, std::vector<v3s16> *unloaded_blocks=NULL); /* |