From a8e238ed06ee8285ed4459e9deda3117419837f6 Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 10 Aug 2015 22:24:47 +0200 Subject: Add count based unload limit for mapblocks --- src/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map.h') 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 *unloaded_blocks=NULL); /* -- cgit v1.2.3