summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-11-26 22:31:21 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-11-26 22:34:59 +0200
commit6b927229f5f9cb9a8163ecec482160975199fa0f (patch)
tree60f5012621d87344b1ed8d2ea35a6126080fff8e /src/client.h
parentffad18e42442fed10c312adc989fc62b74e05896 (diff)
downloadminetest-6b927229f5f9cb9a8163ecec482160975199fa0f.tar.gz
minetest-6b927229f5f9cb9a8163ecec482160975199fa0f.tar.bz2
minetest-6b927229f5f9cb9a8163ecec482160975199fa0f.zip
Default server step to 0.1s and sync object/player update intervals to it
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 154c8bb00..b4b7af7c3 100644
--- a/src/client.h
+++ b/src/client.h
@@ -382,6 +382,9 @@ private:
float m_last_time_of_day_f;
float m_time_of_day_update_timer;
+ // An interval for generally sending object positions and stuff
+ float m_recommended_send_interval;
+
// Sounds
float m_removed_sounds_check_timer;
// Mapping from server sound ids to our sound ids