diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-10-29 19:43:41 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-10-29 19:43:41 +0100 |
commit | e94307c29242e9d7e663c774840568a2b73fd400 (patch) | |
tree | a4372da37ee02b0e3912ff73defa3a79e45faa71 /source/World.cpp | |
parent | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. (diff) | |
download | cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.gz cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.bz2 cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.lz cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.xz cuberite-e94307c29242e9d7e663c774840568a2b73fd400.tar.zst cuberite-e94307c29242e9d7e663c774840568a2b73fd400.zip |
Diffstat (limited to '')
-rw-r--r-- | source/World.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp index dcd51afcf..ad34dc6a5 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -609,6 +609,7 @@ void cWorld::Tick(float a_Dt) m_WorldAge = (Int64)(m_WorldAgeSecs * 20.0); m_TimeOfDay = (Int64)(m_TimeOfDaySecs * 20.0); + // Updates the sky darkness based on current time of day UpdateSkyDarkness(); // Broadcast time update every 40 ticks (2 seconds) |