summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-09 02:17:30 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:20 +0200
commit68011a004a83adc793f0df563cc924c5a2b7dddc (patch)
treede7b6cb0d1d9e2d41feb3abb853a49d03e1ebfbd /src/Entities/Pawn.cpp
parentItemHandler: changed IsDrinkable() to take a short argument (diff)
downloadcuberite-68011a004a83adc793f0df563cc924c5a2b7dddc.tar
cuberite-68011a004a83adc793f0df563cc924c5a2b7dddc.tar.gz
cuberite-68011a004a83adc793f0df563cc924c5a2b7dddc.tar.bz2
cuberite-68011a004a83adc793f0df563cc924c5a2b7dddc.tar.lz
cuberite-68011a004a83adc793f0df563cc924c5a2b7dddc.tar.xz
cuberite-68011a004a83adc793f0df563cc924c5a2b7dddc.tar.zst
cuberite-68011a004a83adc793f0df563cc924c5a2b7dddc.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Pawn.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Entities/Pawn.cpp b/src/Entities/Pawn.cpp
index a1f24138d..297b4afda 100644
--- a/src/Entities/Pawn.cpp
+++ b/src/Entities/Pawn.cpp
@@ -69,8 +69,7 @@ void cPawn::AddEntityEffect(cEntityEffect::eType a_EffectType, cEntityEffect a_E
}
m_EntityEffects[a_EffectType] = a_Effect;
- m_World->BroadcastEntityEffect(*this, a_EffectType, a_Effect.GetIntensity(),
- a_Effect.m_Ticks * a_Effect.GetDistanceModifier());
+ m_World->BroadcastEntityEffect(*this, a_EffectType, a_Effect.GetIntensity(), a_Effect.m_Ticks * a_Effect.GetDistanceModifier());
}