diff options
author | archshift <admin@archshift.com> | 2014-06-13 19:59:59 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:22 +0200 |
commit | 68c30790db17b9d21b2fcda4c7edec679162c577 (patch) | |
tree | f9fc6786d61c4700ea5b65f3b93ef920c8f55171 /src/Entities/SplashPotionEntity.cpp | |
parent | APIDump: Added OnEntityAddEffect hook documentation. (diff) | |
download | cuberite-68c30790db17b9d21b2fcda4c7edec679162c577.tar cuberite-68c30790db17b9d21b2fcda4c7edec679162c577.tar.gz cuberite-68c30790db17b9d21b2fcda4c7edec679162c577.tar.bz2 cuberite-68c30790db17b9d21b2fcda4c7edec679162c577.tar.lz cuberite-68c30790db17b9d21b2fcda4c7edec679162c577.tar.xz cuberite-68c30790db17b9d21b2fcda4c7edec679162c577.tar.zst cuberite-68c30790db17b9d21b2fcda4c7edec679162c577.zip |
Diffstat (limited to 'src/Entities/SplashPotionEntity.cpp')
-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 714e4021d..2a1e9d981 100644 --- a/src/Entities/SplashPotionEntity.cpp +++ b/src/Entities/SplashPotionEntity.cpp @@ -79,7 +79,7 @@ bool cSplashPotionEntity::cSplashPotionCallback::Item(cEntity * a_Entity) } m_EntityEffect.SetDistanceModifier(Reduction); - ((cPawn *) a_Entity)->AddEntityEffect(m_EntityEffectType, m_EntityEffect); + ((cPawn *) a_Entity)->AddEntityEffect(m_EntityEffectType, m_EntityEffect.m_Ticks, m_EntityEffect.GetIntensity(), m_EntityEffect.GetCreator(), Reduction); } return false; } |