summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-28 16:12:10 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-28 16:12:10 +0200
commitd4f90259b8cd3e5d90dd419930c8635105ea4d0f (patch)
tree518e082c2a8a0d60e6ae57fc096ca52127cba002
parentFix right click bugs. (diff)
downloadcuberite-d4f90259b8cd3e5d90dd419930c8635105ea4d0f.tar
cuberite-d4f90259b8cd3e5d90dd419930c8635105ea4d0f.tar.gz
cuberite-d4f90259b8cd3e5d90dd419930c8635105ea4d0f.tar.bz2
cuberite-d4f90259b8cd3e5d90dd419930c8635105ea4d0f.tar.lz
cuberite-d4f90259b8cd3e5d90dd419930c8635105ea4d0f.tar.xz
cuberite-d4f90259b8cd3e5d90dd419930c8635105ea4d0f.tar.zst
cuberite-d4f90259b8cd3e5d90dd419930c8635105ea4d0f.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/ArrowEntity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp
index 8d2569125..fbc535e63 100644
--- a/src/Entities/ArrowEntity.cpp
+++ b/src/Entities/ArrowEntity.cpp
@@ -19,6 +19,7 @@ cArrowEntity::cArrowEntity(cEntity * a_Creator, double a_X, double a_Y, double a
m_bIsCollected(false),
m_HitBlockPos(Vector3i(0, 0, 0))
{
+ SetPosY(GetPosY() + a_Creator->GetHeight() - 0.1000000014901161);
SetSpeed(a_Speed);
SetMass(0.1);
SetYawFromSpeed();