diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Pawn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Pawn.cpp b/src/Entities/Pawn.cpp index 65af67916..dc87c5227 100644 --- a/src/Entities/Pawn.cpp +++ b/src/Entities/Pawn.cpp @@ -193,7 +193,7 @@ void cPawn::AddEntityEffect(cEntityEffect::eType a_EffectType, int a_Duration, s } auto Res = m_EntityEffects.emplace(a_EffectType, cEntityEffect::CreateEntityEffect(a_EffectType, a_Duration, a_Intensity, a_DistanceModifier)); - m_World->BroadcastEntityEffect(*this, a_EffectType, a_Intensity, static_cast<short>(a_Duration)); + m_World->BroadcastEntityEffect(*this, a_EffectType, a_Intensity, a_Duration); cEntityEffect * Effect = Res.first->second.get(); Effect->OnActivate(*this); } |