summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 22:59:02 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 23:16:54 +0200
commitd0cc9aedb3e63d39324c52b6385406f362ab41b7 (patch)
tree20aed08f8932927b94735cf6d996f7d6ea375f46 /src/Entities/Entity.cpp
parentPlayer.cpp: Fixed compile error (diff)
downloadcuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar
cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.gz
cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.bz2
cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.lz
cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.xz
cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.zst
cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.zip
Diffstat (limited to 'src/Entities/Entity.cpp')
-rw-r--r--src/Entities/Entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index 0ff3ff102..7d130aa47 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -640,7 +640,7 @@ void cEntity::HandlePhysics(float a_Dt, cChunk & a_Chunk)
if ((BlockY >= cChunkDef::Height) || (BlockY < 0))
{
- // Outside of the world
+ // Outside of the world
AddSpeedY(m_Gravity * a_Dt);
AddPosition(GetSpeed() * a_Dt);
return;
@@ -858,7 +858,7 @@ void cEntity::TickBurning(cChunk & a_Chunk)
if (POSY_TOINT > m_World->GetHeight(POSX_TOINT, POSZ_TOINT))
{
m_TicksLeftBurning = 0;
- }
+ }
}
// Do the burning damage: