summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-04 01:05:04 +0100
committerGitHub <noreply@github.com>2020-03-04 01:05:04 +0100
commit1ab87be80c38cb3c52fb94f8d39f04a9cb123b05 (patch)
treefd16374b2e2f20fcbb287a3ddf372032385794d8 /src/Entities
parentBoats can be spawned on land (diff)
downloadcuberite-1ab87be80c38cb3c52fb94f8d39f04a9cb123b05.tar
cuberite-1ab87be80c38cb3c52fb94f8d39f04a9cb123b05.tar.gz
cuberite-1ab87be80c38cb3c52fb94f8d39f04a9cb123b05.tar.bz2
cuberite-1ab87be80c38cb3c52fb94f8d39f04a9cb123b05.tar.lz
cuberite-1ab87be80c38cb3c52fb94f8d39f04a9cb123b05.tar.xz
cuberite-1ab87be80c38cb3c52fb94f8d39f04a9cb123b05.tar.zst
cuberite-1ab87be80c38cb3c52fb94f8d39f04a9cb123b05.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 ce0adcdcc..0059a6eaa 100644
--- a/src/Entities/ArrowEntity.cpp
+++ b/src/Entities/ArrowEntity.cpp
@@ -125,7 +125,7 @@ void cArrowEntity::OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos)
}
// Broadcast successful hit sound
- GetWorld()->BroadcastSoundEffect("entity.arrow.hit_player", GetPosition(), 0.5, static_cast<float>(0.75 + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64));
+ GetWorld()->BroadcastSoundEffect("entity.arrow.hit", GetPosition(), 0.5, static_cast<float>(0.75 + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64));
Destroy();
}