summaryrefslogtreecommitdiffstats
path: root/src/Entities/ArrowEntity.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-17 12:45:12 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-17 12:45:12 +0200
commit37de63895f029342b92923d08585aa8f4fdae2ea (patch)
tree839076bc39c03505e48bf4a1a9f87afaf97492fd /src/Entities/ArrowEntity.cpp
parentFloat, not Double (diff)
downloadcuberite-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 '')
-rw-r--r--src/Entities/ArrowEntity.cpp2
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();