summaryrefslogtreecommitdiffstats
path: root/src/Entities/FallingBlock.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-26 23:01:48 +0200
committerarchshift <admin@archshift.com>2014-04-26 23:05:00 +0200
commit7841bad27ad97736ddf21b86e2409f20c6392e69 (patch)
tree0328313dd23d62d875e2e52cbb92f6d7dfda967a /src/Entities/FallingBlock.cpp
parentMoar alignment. (diff)
downloadcuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.gz
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.bz2
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.lz
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.xz
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.tar.zst
cuberite-7841bad27ad97736ddf21b86e2409f20c6392e69.zip
Diffstat (limited to '')
-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 50140de67..bcdac0291 100644
--- a/src/Entities/FallingBlock.cpp
+++ b/src/Entities/FallingBlock.cpp
@@ -87,7 +87,7 @@ void cFallingBlock::Tick(float a_Dt, cChunk & a_Chunk)
AddSpeedY(MilliDt * -9.8f);
AddPosition(GetSpeed() * MilliDt);
- //If not static (One billionth precision) broadcast movement.
+ // If not static (One billionth precision) broadcast movement.
static const float epsilon = 0.000000001;
if ((fabs(GetSpeedX()) > epsilon) || (fabs(GetSpeedZ()) > epsilon))
{