diff options
author | Mat <mail@mathias.is> | 2020-03-04 01:05:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 01:05:04 +0100 |
commit | 1ab87be80c38cb3c52fb94f8d39f04a9cb123b05 (patch) | |
tree | fd16374b2e2f20fcbb287a3ddf372032385794d8 /src/Entities | |
parent | Boats can be spawned on land (diff) | |
download | cuberite-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 '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 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(); } |