summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-28 22:21:49 +0200
committermadmaxoft <github@xoft.cz>2014-04-28 22:21:49 +0200
commitdffd38e53b87b3928542ad5fb5223a6b56f20ac9 (patch)
tree6b628f927377685579a2a2cc474cee5654e329c0
parentMerge pull request #940 from Howaner/GlobalFixes (diff)
downloadcuberite-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
-rw-r--r--src/Entities/FallingBlock.cpp2
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();