summaryrefslogtreecommitdiffstats
path: root/src/Physics
diff options
context:
space:
mode:
Diffstat (limited to 'src/Physics')
-rw-r--r--src/Physics/Explodinator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Physics/Explodinator.cpp b/src/Physics/Explodinator.cpp
index e12b9bd60..8954f66f5 100644
--- a/src/Physics/Explodinator.cpp
+++ b/src/Physics/Explodinator.cpp
@@ -96,11 +96,11 @@ namespace Explodinator
if (Entity.IsPawn())
{
const auto ReducedImpact = Impact - Impact * Entity.GetEnchantmentBlastKnockbackReduction();
- Entity.SetSpeed(Direction.NormalizeCopy() * KnockbackFactor * ReducedImpact);
+ Entity.AddSpeed(Direction.NormalizeCopy() * KnockbackFactor * ReducedImpact);
}
else
{
- Entity.SetSpeed(Direction.NormalizeCopy() * KnockbackFactor * Impact);
+ Entity.AddSpeed(Direction.NormalizeCopy() * KnockbackFactor * Impact);
}
// Continue iteration: