summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-08-10 22:24:47 +0200
committerest31 <MTest31@outlook.com>2015-08-13 07:56:07 +0200
commita8e238ed06ee8285ed4459e9deda3117419837f6 (patch)
tree9d2d9caee1f9d1a3944d1ba078e7df6e9f13d7c3 /src/map.h
parent2b04ab874d75711bc021a0cd8dc7fca68f4e6929 (diff)
downloadminetest-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 5500ccf91..2afd09639 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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);
/*