mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
working time-of-day sending from server to client
This commit is contained in:
parent
ab7477c4c3
commit
5a36956f75
10 changed files with 198 additions and 148 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue