diff options
author | Lars Hofhansl <larsh@apache.org> | 2018-01-12 23:47:39 -0800 |
---|---|---|
committer | Lars Hofhansl <larsh@apache.org> | 2018-01-12 23:47:39 -0800 |
commit | fad263dec9e1fa7ae0886f768e22d8ee74e8553b (patch) | |
tree | 1d6ede8d2b9a77ebd90545a0ba38f0785c85b23d /src/serverenvironment.h | |
parent | 7e50529867d4ad0e405f0d850a3d2a1a08d0121b (diff) | |
download | minetest-fad263dec9e1fa7ae0886f768e22d8ee74e8553b.tar.gz minetest-fad263dec9e1fa7ae0886f768e22d8ee74e8553b.tar.bz2 minetest-fad263dec9e1fa7ae0886f768e22d8ee74e8553b.zip |
Revert "Add an active object step time budget #6721"
This reverts commit 9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a.
See #6907
Diffstat (limited to 'src/serverenvironment.h')
-rw-r--r-- | src/serverenvironment.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/serverenvironment.h b/src/serverenvironment.h index ea295b919..d51658330 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -429,11 +429,8 @@ private: ActiveBlockList m_active_blocks; IntervalLimiter m_active_blocks_management_interval; IntervalLimiter m_active_block_modifier_interval; - IntervalLimiter m_active_object_interval; IntervalLimiter m_active_blocks_nodemetadata_interval; - float m_active_block_interval_overload_skip = 1.0f; - float m_active_object_interval_overload_skip = 1.0f; - float m_avg_ao_time = 0.0f; + int m_active_block_interval_overload_skip = 0; // Time from the beginning of the game in seconds. // Incremented in step(). u32 m_game_time = 0; |