summaryrefslogtreecommitdiffstats
path: root/source/Entities
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-04 19:26:00 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-04 19:26:00 +0200
commitad89a0d460cc6afdc5a433695861cd0bf3ebeadd (patch)
tree19f20d8a31d6bae5f3e3fcb1abcfe8ddf26d2428 /source/Entities
parentPlayers toss a little further (diff)
downloadcuberite-ad89a0d460cc6afdc5a433695861cd0bf3ebeadd.tar
cuberite-ad89a0d460cc6afdc5a433695861cd0bf3ebeadd.tar.gz
cuberite-ad89a0d460cc6afdc5a433695861cd0bf3ebeadd.tar.bz2
cuberite-ad89a0d460cc6afdc5a433695861cd0bf3ebeadd.tar.lz
cuberite-ad89a0d460cc6afdc5a433695861cd0bf3ebeadd.tar.xz
cuberite-ad89a0d460cc6afdc5a433695861cd0bf3ebeadd.tar.zst
cuberite-ad89a0d460cc6afdc5a433695861cd0bf3ebeadd.zip
Diffstat (limited to 'source/Entities')
-rw-r--r--source/Entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Entities/Entity.cpp b/source/Entities/Entity.cpp
index 7e118c74e..8388bf092 100644
--- a/source/Entities/Entity.cpp
+++ b/source/Entities/Entity.cpp
@@ -517,7 +517,7 @@ void cEntity::HandlePhysics(float a_Dt, cChunk & a_Chunk)
}
else
{
- //Push out entity.
+ // Push out entity.
if (NextChunk->GetBlock( RelBlockX + 1, BlockY, RelBlockZ ) == E_BLOCK_AIR) { NextPos.x += 0.2; }
else if (NextChunk->GetBlock( RelBlockX - 1, BlockY, RelBlockZ ) == E_BLOCK_AIR) { NextPos.x += -0.2; }