diff options
author | madmaxoft <github@xoft.cz> | 2014-04-28 22:21:49 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-28 22:21:49 +0200 |
commit | dffd38e53b87b3928542ad5fb5223a6b56f20ac9 (patch) | |
tree | 6b628f927377685579a2a2cc474cee5654e329c0 /src/Entities | |
parent | Merge pull request #940 from Howaner/GlobalFixes (diff) | |
download | cuberite-dffd38e53b87b3928542ad5fb5223a6b56f20ac9.tar cuberite-dffd38e53b87b3928542ad5fb5223a6b56f20ac9.tar.gz cuberite-dffd38e53b87b3928542ad5fb5223a6b56f20ac9.tar.bz2 cuberite-dffd38e53b87b3928542ad5fb5223a6b56f20ac9.tar.lz cuberite-dffd38e53b87b3928542ad5fb5223a6b56f20ac9.tar.xz cuberite-dffd38e53b87b3928542ad5fb5223a6b56f20ac9.tar.zst cuberite-dffd38e53b87b3928542ad5fb5223a6b56f20ac9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/FallingBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/FallingBlock.cpp b/src/Entities/FallingBlock.cpp index bcdac0291..99bff1100 100644 --- a/src/Entities/FallingBlock.cpp +++ b/src/Entities/FallingBlock.cpp @@ -88,7 +88,7 @@ void cFallingBlock::Tick(float a_Dt, cChunk & a_Chunk) AddPosition(GetSpeed() * MilliDt); // If not static (One billionth precision) broadcast movement. - static const float epsilon = 0.000000001; + static const float epsilon = 0.000000001f; if ((fabs(GetSpeedX()) > epsilon) || (fabs(GetSpeedZ()) > epsilon)) { BroadcastMovementUpdate(); |