From 5a36956f75959887f75fda90c39d56181cd1f196 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 20 Dec 2010 14:04:31 +0200 Subject: working time-of-day sending from server to client --- src/client.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client.h') 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 m_time_of_day; // 0 <= m_daynight_i < DAYNIGHT_CACHE_COUNT //s32 m_daynight_i; -- cgit v1.2.3