From cdd8e425872b94878babf7823cd12381d2db1a5c Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Fri, 27 Jul 2018 00:12:41 +0100 Subject: cWorld: Manually bind deprecated broadcast functions (#4265) Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 --- src/Entities/SplashPotionEntity.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/Entities/SplashPotionEntity.cpp') diff --git a/src/Entities/SplashPotionEntity.cpp b/src/Entities/SplashPotionEntity.cpp index 15be9706e..d5042f072 100644 --- a/src/Entities/SplashPotionEntity.cpp +++ b/src/Entities/SplashPotionEntity.cpp @@ -92,9 +92,7 @@ void cSplashPotionEntity::Splash(Vector3d a_HitPos) m_World->BroadcastSoundParticleEffect( EffectID::PARTICLE_SPLASH_POTION, - FloorC(a_HitPos.x), - FloorC(a_HitPos.y), - FloorC(a_HitPos.z), + a_HitPos.Floor(), m_PotionColor ); } -- cgit v1.2.3