diff options
author | archshift <admin@archshift.com> | 2014-04-26 18:21:49 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-26 18:25:30 +0200 |
commit | aef2c8ec628aa2522364da1333bc5158e55ac6a2 (patch) | |
tree | da83f950fb33b4910d006499930b98fb231e2fd7 /src/Entities/FallingBlock.cpp | |
parent | Fixed mobs that don't naturally spawn. (diff) | |
download | cuberite-aef2c8ec628aa2522364da1333bc5158e55ac6a2.tar cuberite-aef2c8ec628aa2522364da1333bc5158e55ac6a2.tar.gz cuberite-aef2c8ec628aa2522364da1333bc5158e55ac6a2.tar.bz2 cuberite-aef2c8ec628aa2522364da1333bc5158e55ac6a2.tar.lz cuberite-aef2c8ec628aa2522364da1333bc5158e55ac6a2.tar.xz cuberite-aef2c8ec628aa2522364da1333bc5158e55ac6a2.tar.zst cuberite-aef2c8ec628aa2522364da1333bc5158e55ac6a2.zip |
Diffstat (limited to 'src/Entities/FallingBlock.cpp')
-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 f48fb156b..50140de67 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. - float epsilon = 0.000000001; + static const float epsilon = 0.000000001; if ((fabs(GetSpeedX()) > epsilon) || (fabs(GetSpeedZ()) > epsilon)) { BroadcastMovementUpdate(); |