From 9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a Mon Sep 17 00:00:00 2001 From: Lars Hofhansl Date: Wed, 6 Dec 2017 12:21:46 -0800 Subject: Add an active object step time budget #6721 This can be set via the active_object_interval option. --- src/environment.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/environment.cpp') diff --git a/src/environment.cpp b/src/environment.cpp index f9de13baa..23ec64573 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -36,6 +36,7 @@ Environment::Environment(IGameDef *gamedef): m_cache_enable_shaders = g_settings->getBool("enable_shaders"); m_cache_active_block_mgmt_interval = g_settings->getFloat("active_block_mgmt_interval"); m_cache_abm_interval = g_settings->getFloat("abm_interval"); + m_cache_ao_interval = g_settings->getFloat("active_object_interval"); m_cache_nodetimer_interval = g_settings->getFloat("nodetimer_interval"); m_time_of_day = g_settings->getU32("world_start_time"); -- cgit v1.2.3