diff options
Diffstat (limited to 'src/Entities/Pawn.cpp')
-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 ba91258e9..11c7999c9 100644 --- a/src/Entities/Pawn.cpp +++ b/src/Entities/Pawn.cpp @@ -425,7 +425,7 @@ void cPawn::HandleFalling(void) auto Damage = static_cast<int>(m_LastGroundHeight - GetPosY() - 3.0); if ((Damage > 0) && !FallDamageAbsorbed) { - TakeDamage(dtFalling, nullptr, Damage, Damage, 0); + TakeDamage(dtFalling, nullptr, Damage, static_cast<float>(Damage), 0); // Fall particles GetWorld()->BroadcastParticleEffect( |