summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-17 12:43:45 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-17 12:43:45 +0200
commitd89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1 (patch)
tree697e19d286d9d8127223475fe617ea589c79f22f /src
parentSplit Broadcast Sound Effect function call in multiple lines. (diff)
downloadcuberite-d89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1.tar
cuberite-d89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1.tar.gz
cuberite-d89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1.tar.bz2
cuberite-d89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1.tar.lz
cuberite-d89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1.tar.xz
cuberite-d89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1.tar.zst
cuberite-d89f03b90c60c2aaae3f937f5b84dc3c8f2f6ad1.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 7f2c8dca5..ea782940a 100644
--- a/src/Entities/ArrowEntity.cpp
+++ b/src/Entities/ArrowEntity.cpp
@@ -119,7 +119,7 @@ void cArrowEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos)
(int)std::floor(GetPosX() * 8.0),
(int)std::floor(GetPosY() * 8.0),
(int)std::floor(GetPosZ() * 8.0),
- 0.5,
+ 0.5F,
(float)(0.75 + ((float)((GetUniqueID() * 23) % 32)) / 64)
);