summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-15 13:15:27 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-15 13:15:27 +0200
commit11bbfbc98acc80c72daacfcc0bea404fdce1748c (patch)
treed6f7adfc7348633fb30efb1d296da69016d38338 /source
parentEven better pickup physics (diff)
downloadcuberite-11bbfbc98acc80c72daacfcc0bea404fdce1748c.tar
cuberite-11bbfbc98acc80c72daacfcc0bea404fdce1748c.tar.gz
cuberite-11bbfbc98acc80c72daacfcc0bea404fdce1748c.tar.bz2
cuberite-11bbfbc98acc80c72daacfcc0bea404fdce1748c.tar.lz
cuberite-11bbfbc98acc80c72daacfcc0bea404fdce1748c.tar.xz
cuberite-11bbfbc98acc80c72daacfcc0bea404fdce1748c.tar.zst
cuberite-11bbfbc98acc80c72daacfcc0bea404fdce1748c.zip
Diffstat (limited to 'source')
-rw-r--r--source/Entities/Entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Entities/Entity.cpp b/source/Entities/Entity.cpp
index 3a93b7519..e79b441f3 100644
--- a/source/Entities/Entity.cpp
+++ b/source/Entities/Entity.cpp
@@ -540,6 +540,7 @@ void cEntity::HandlePhysics(float a_Dt, cChunk & a_Chunk)
NextPos.x += gCrossCoords[i].x;
NextPos.z += gCrossCoords[i].z;
IsNoAirSurrounding = false;
+ break;
}
} // for i - gCrossCoords[]