summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-01-17 23:24:25 +0100
committerworktycho <work.tycho@gmail.com>2015-01-17 23:24:25 +0100
commit6758c1d2a15c789e232c8a3f7b51f23b66efd6e1 (patch)
tree759bc46938e2248628ada9fa94d003b0b2e4f52a
parentConverted Monster to std::chrono (diff)
downloadcuberite-6758c1d2a15c789e232c8a3f7b51f23b66efd6e1.tar
cuberite-6758c1d2a15c789e232c8a3f7b51f23b66efd6e1.tar.gz
cuberite-6758c1d2a15c789e232c8a3f7b51f23b66efd6e1.tar.bz2
cuberite-6758c1d2a15c789e232c8a3f7b51f23b66efd6e1.tar.lz
cuberite-6758c1d2a15c789e232c8a3f7b51f23b66efd6e1.tar.xz
cuberite-6758c1d2a15c789e232c8a3f7b51f23b66efd6e1.tar.zst
cuberite-6758c1d2a15c789e232c8a3f7b51f23b66efd6e1.zip
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index cd99f2c2d..46488d58b 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -869,7 +869,7 @@ void cWorld::Tick(std::chrono::milliseconds a_Dt, std::chrono::milliseconds a_La
if (m_IsDaylightCycleEnabled)
{
- // We need sub-tick precision here, that's why we store the time in seconds and calculate ticks off of it
+ // We need sub-tick precision here, that's why we store the time in milliseconds and calculate ticks off of it
m_TimeOfDay += a_Dt;
// Wrap time of day each 20 minutes (1200 seconds)