diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-07-27 01:12:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 01:12:41 +0200 |
commit | cdd8e425872b94878babf7823cd12381d2db1a5c (patch) | |
tree | fea666b4d4c4e10da6a957a0e403c747dbd74ef9 /src/Entities/SplashPotionEntity.cpp | |
parent | CheckBasicStyle: Check number of empty lines between functions (#4267) (diff) | |
download | cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.gz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.bz2 cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.lz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.xz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.zst cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.zip |
Diffstat (limited to 'src/Entities/SplashPotionEntity.cpp')
-rw-r--r-- | src/Entities/SplashPotionEntity.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 ); } |