summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-20 14:04:31 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-20 14:04:31 +0200
commit5a36956f75959887f75fda90c39d56181cd1f196 (patch)
tree7532418d0f0343bde620932e226446bb75408f86 /src/client.h
parentab7477c4c3e2a3647dc4fb65c71567946d33b0e3 (diff)
downloadminetest-5a36956f75959887f75fda90c39d56181cd1f196.tar.gz
minetest-5a36956f75959887f75fda90c39d56181cd1f196.tar.bz2
minetest-5a36956f75959887f75fda90c39d56181cd1f196.zip
working time-of-day sending from server to client
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client.h b/src/client.h
index 4720bd720..a1ee3f762 100644
--- a/src/client.h
+++ b/src/client.h
@@ -290,9 +290,8 @@ private:
PacketCounter m_packetcounter;
- // Access these only in main thread.
- u32 m_time;
- float m_time_counter;
+ // Received from the server. 0-23999
+ MutexedVariable<u32> m_time_of_day;
// 0 <= m_daynight_i < DAYNIGHT_CACHE_COUNT
//s32 m_daynight_i;