diff options
author | Pablo Beltrán <spekdrum@gmail.com> | 2017-07-09 18:08:59 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-07-10 05:47:04 +0200 |
commit | 7adec790e6f75e001dea8e67a4a7697887bebaf6 (patch) | |
tree | 73e831bb79243888a540253840d307d430047414 /src/Mobs | |
parent | Implemented draggingitem API. (diff) | |
download | cuberite-7adec790e6f75e001dea8e67a4a7697887bebaf6.tar cuberite-7adec790e6f75e001dea8e67a4a7697887bebaf6.tar.gz cuberite-7adec790e6f75e001dea8e67a4a7697887bebaf6.tar.bz2 cuberite-7adec790e6f75e001dea8e67a4a7697887bebaf6.tar.lz cuberite-7adec790e6f75e001dea8e67a4a7697887bebaf6.tar.xz cuberite-7adec790e6f75e001dea8e67a4a7697887bebaf6.tar.zst cuberite-7adec790e6f75e001dea8e67a4a7697887bebaf6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Horse.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Horse.cpp b/src/Mobs/Horse.cpp index b51e7843e..24287ecc8 100644 --- a/src/Mobs/Horse.cpp +++ b/src/Mobs/Horse.cpp @@ -70,6 +70,7 @@ void cHorse::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) m_World->BroadcastSoundParticleEffect(EffectID::PARTICLE_SMOKE, FloorC(GetPosX()), FloorC(GetPosY()), FloorC(GetPosZ()), int(SmokeDirection::NORTH_EAST)); m_World->BroadcastSoundParticleEffect(EffectID::PARTICLE_SMOKE, FloorC(GetPosX()), FloorC(GetPosY()), FloorC(GetPosZ()), int(SmokeDirection::NORTH_WEST)); + m_World->BroadcastSoundEffect("entity.horse.angry", GetPosX(), GetPosY(), GetPosZ(), 1.0f, 1.0f); m_Attachee->Detach(); m_bIsRearing = true; } |