diff options
author | Dave Tucker <dave@dtucker.co.uk> | 2015-11-24 00:39:19 +0100 |
---|---|---|
committer | Dave Tucker <dave@dtucker.co.uk> | 2015-11-24 14:21:40 +0100 |
commit | 83870f9fc0e19da646f408a2d6636adfe4b5c002 (patch) | |
tree | d63858a16962f83d68620bc55c8efeed126874a6 /src/Mobs/Monster.cpp | |
parent | Merge pull request #2645 from Gargaj/followedarray (diff) | |
download | cuberite-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 'src/Mobs/Monster.cpp')
-rw-r--r-- | src/Mobs/Monster.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 99909aa66..060b934ec 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -6,6 +6,7 @@ #include "../Server.h" #include "../ClientHandle.h" #include "../World.h" +#include "../EffectID.h" #include "../Entities/Player.h" #include "../Entities/ExpOrb.h" #include "../MonsterConfig.h" @@ -573,7 +574,7 @@ void cMonster::HandleFalling() TakeDamage(dtFalling, nullptr, Damage, Damage, 0); // Fall particles - GetWorld()->BroadcastSoundParticleEffect(2006, POSX_TOINT, POSY_TOINT - 1, POSZ_TOINT, Damage /* Used as particle effect speed modifier */); + GetWorld()->BroadcastSoundParticleEffect(EffectID::PARTICLE_FALL_PARTICLES, POSX_TOINT, POSY_TOINT - 1, POSZ_TOINT, Damage /* Used as particle effect speed modifier */); } m_LastGroundHeight = POSY_TOINT; |