diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-17 12:45:12 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-17 12:45:12 +0200 |
commit | 37de63895f029342b92923d08585aa8f4fdae2ea (patch) | |
tree | 839076bc39c03505e48bf4a1a9f87afaf97492fd /src/Entities | |
parent | Float, not Double (diff) | |
download | cuberite-37de63895f029342b92923d08585aa8f4fdae2ea.tar cuberite-37de63895f029342b92923d08585aa8f4fdae2ea.tar.gz cuberite-37de63895f029342b92923d08585aa8f4fdae2ea.tar.bz2 cuberite-37de63895f029342b92923d08585aa8f4fdae2ea.tar.lz cuberite-37de63895f029342b92923d08585aa8f4fdae2ea.tar.xz cuberite-37de63895f029342b92923d08585aa8f4fdae2ea.tar.zst cuberite-37de63895f029342b92923d08585aa8f4fdae2ea.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp index ea782940a..9a8571a31 100644 --- a/src/Entities/ArrowEntity.cpp +++ b/src/Entities/ArrowEntity.cpp @@ -120,7 +120,7 @@ void cArrowEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos) (int)std::floor(GetPosY() * 8.0), (int)std::floor(GetPosZ() * 8.0), 0.5F, - (float)(0.75 + ((float)((GetUniqueID() * 23) % 32)) / 64) + 0.75F + ((float)((GetUniqueID() * 23) % 32)) / 64F ); Destroy(); |