summaryrefslogtreecommitdiffstats
path: root/src/Entities/SplashPotionEntity.cpp
diff options
context:
space:
mode:
authorDave Tucker <dave@dtucker.co.uk>2015-11-24 00:39:19 +0100
committerDave Tucker <dave@dtucker.co.uk>2015-11-24 14:21:40 +0100
commit83870f9fc0e19da646f408a2d6636adfe4b5c002 (patch)
treed63858a16962f83d68620bc55c8efeed126874a6 /src/Entities/SplashPotionEntity.cpp
parentMerge pull request #2645 from Gargaj/followedarray (diff)
downloadcuberite-83870f9fc0e19da646f408a2d6636adfe4b5c002.tar
cuberite-83870f9fc0e19da646f408a2d6636adfe4b5c002.tar.gz
cuberite-83870f9fc0e19da646f408a2d6636adfe4b5c002.tar.bz2
cuberite-83870f9fc0e19da646f408a2d6636adfe4b5c002.tar.lz
cuberite-83870f9fc0e19da646f408a2d6636adfe4b5c002.tar.xz
cuberite-83870f9fc0e19da646f408a2d6636adfe4b5c002.tar.zst
cuberite-83870f9fc0e19da646f408a2d6636adfe4b5c002.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/SplashPotionEntity.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/SplashPotionEntity.cpp b/src/Entities/SplashPotionEntity.cpp
index 9d855dfa6..ba806e50e 100644
--- a/src/Entities/SplashPotionEntity.cpp
+++ b/src/Entities/SplashPotionEntity.cpp
@@ -3,6 +3,7 @@
#include "SplashPotionEntity.h"
#include "Pawn.h"
#include "../ClientHandle.h"
+#include "../EffectID.h"
@@ -121,7 +122,7 @@ void cSplashPotionEntity::Splash(const Vector3d & a_HitPos)
m_World->ForEachEntity(Callback);
m_World->BroadcastSoundParticleEffect(
- 2002,
+ EffectID::PARTICLE_SPLASH_POTION,
FloorC(a_HitPos.x),
FloorC(a_HitPos.y),
FloorC(a_HitPos.z),