diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-16 22:57:27 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-16 22:57:27 +0200 |
commit | b45e85a6784861e225c7a4ecfd7838a6d32c7875 (patch) | |
tree | 098503734ff14e62b47d90e61ea2993eb6644735 /src/Items/ItemBow.h | |
parent | Fix bow sound and creative arrow pickup. (diff) | |
download | cuberite-b45e85a6784861e225c7a4ecfd7838a6d32c7875.tar cuberite-b45e85a6784861e225c7a4ecfd7838a6d32c7875.tar.gz cuberite-b45e85a6784861e225c7a4ecfd7838a6d32c7875.tar.bz2 cuberite-b45e85a6784861e225c7a4ecfd7838a6d32c7875.tar.lz cuberite-b45e85a6784861e225c7a4ecfd7838a6d32c7875.tar.xz cuberite-b45e85a6784861e225c7a4ecfd7838a6d32c7875.tar.zst cuberite-b45e85a6784861e225c7a4ecfd7838a6d32c7875.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemBow.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Items/ItemBow.h b/src/Items/ItemBow.h index a8fac13cc..a2f740ba7 100644 --- a/src/Items/ItemBow.h +++ b/src/Items/ItemBow.h @@ -70,7 +70,6 @@ public: } cFastRandom Random; - a_Player->GetWorld()->BroadcastSpawnEntity(*Arrow); a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)std::floor(a_Player->GetPosX() * 8.0), (int)std::floor(a_Player->GetPosY() * 8.0), (int)std::floor(a_Player->GetPosZ() * 8.0), 1.0F, 1.0F / (Random.NextFloat(1.0F) * 0.4F + 1.2F) + (float)Force * 0.5F); if (!a_Player->IsGameModeCreative()) |