summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 11:07:33 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 11:07:33 +0200
commit70f304a96b48de5c31993d9ee87c4b661e3c615c (patch)
treee2a6e048422755b6a5b04c0fbe3afd0bfbf1c700 /src/Entities
parentUpdated cPawn::KilledBy signature for custom death messages. (diff)
downloadcuberite-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.cpp2
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);
}