diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 11:07:33 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 11:07:33 +0200 |
commit | 70f304a96b48de5c31993d9ee87c4b661e3c615c (patch) | |
tree | e2a6e048422755b6a5b04c0fbe3afd0bfbf1c700 /src/Entities | |
parent | Updated cPawn::KilledBy signature for custom death messages. (diff) | |
download | cuberite-70f304a96b48de5c31993d9ee87c4b661e3c615c.tar cuberite-70f304a96b48de5c31993d9ee87c4b661e3c615c.tar.gz cuberite-70f304a96b48de5c31993d9ee87c4b661e3c615c.tar.bz2 cuberite-70f304a96b48de5c31993d9ee87c4b661e3c615c.tar.lz cuberite-70f304a96b48de5c31993d9ee87c4b661e3c615c.tar.xz cuberite-70f304a96b48de5c31993d9ee87c4b661e3c615c.tar.zst cuberite-70f304a96b48de5c31993d9ee87c4b661e3c615c.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/SplashPotionEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/SplashPotionEntity.cpp b/src/Entities/SplashPotionEntity.cpp index 804026cc0..ed5afaf11 100644 --- a/src/Entities/SplashPotionEntity.cpp +++ b/src/Entities/SplashPotionEntity.cpp @@ -112,7 +112,7 @@ void cSplashPotionEntity::Splash(const Vector3d & a_HitPos) cSplashPotionCallback Callback(a_HitPos, m_EntityEffectType, m_EntityEffect); m_World->ForEachEntity(Callback); - m_World->BroadcastSoundParticleEffect(2002, a_HitPos.x, a_HitPos.y, a_HitPos.z, m_PotionParticleType); + m_World->BroadcastSoundParticleEffect(2002, (int)a_HitPos.x, (int)a_HitPos.y, (int)a_HitPos.z, m_PotionParticleType); } |