diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-05-28 16:12:10 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-05-28 16:12:10 +0200 |
commit | d4f90259b8cd3e5d90dd419930c8635105ea4d0f (patch) | |
tree | 518e082c2a8a0d60e6ae57fc096ca52127cba002 /src/Entities/ArrowEntity.cpp | |
parent | Fix right click bugs. (diff) | |
download | cuberite-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 'src/Entities/ArrowEntity.cpp')
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 1 |
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(); |