diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-09-08 20:07:45 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-09-08 20:07:45 +0200 |
commit | 2c945c8818a19405c566be1fcb6367a69b0a60c8 (patch) | |
tree | a73ea2eade1e6eae4313b442cba584681fceb18b /src/World.cpp | |
parent | Fixed a few compile warnings (diff) | |
download | cuberite-2c945c8818a19405c566be1fcb6367a69b0a60c8.tar cuberite-2c945c8818a19405c566be1fcb6367a69b0a60c8.tar.gz cuberite-2c945c8818a19405c566be1fcb6367a69b0a60c8.tar.bz2 cuberite-2c945c8818a19405c566be1fcb6367a69b0a60c8.tar.lz cuberite-2c945c8818a19405c566be1fcb6367a69b0a60c8.tar.xz cuberite-2c945c8818a19405c566be1fcb6367a69b0a60c8.tar.zst cuberite-2c945c8818a19405c566be1fcb6367a69b0a60c8.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 319d5851f..e6f967a1b 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -876,7 +876,7 @@ void cWorld::Tick(float a_Dt, int a_LastTickDurationMSec) m_TimeOfDaySecs -= 1200.0; } - m_TimeOfDay = (Int64)(m_TimeOfDaySecs * 20.0); + m_TimeOfDay = static_cast<int>(m_TimeOfDaySecs * 20.0); // Updates the sky darkness based on current time of day UpdateSkyDarkness(); |