summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-29 15:41:24 +0200
committermadmaxoft <github@xoft.cz>2014-04-29 15:41:24 +0200
commit7e972f6a5ddb5b0cb7557044085bf1959ae7cb48 (patch)
treefdb6c9a01bfb52dd75d8d5d7afeaff304325615c /src/Entities
parentAdded BiomeToString() API function. (diff)
parentAdded BiomeToString() API function. (diff)
downloadcuberite-7e972f6a5ddb5b0cb7557044085bf1959ae7cb48.tar
cuberite-7e972f6a5ddb5b0cb7557044085bf1959ae7cb48.tar.gz
cuberite-7e972f6a5ddb5b0cb7557044085bf1959ae7cb48.tar.bz2
cuberite-7e972f6a5ddb5b0cb7557044085bf1959ae7cb48.tar.lz
cuberite-7e972f6a5ddb5b0cb7557044085bf1959ae7cb48.tar.xz
cuberite-7e972f6a5ddb5b0cb7557044085bf1959ae7cb48.tar.zst
cuberite-7e972f6a5ddb5b0cb7557044085bf1959ae7cb48.zip
Diffstat (limited to 'src/Entities')
-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();