Fix explosion knockback issues and tweak knockback strength (#4590)

This commit is contained in:
peterbell10
2020-04-02 09:29:42 +02:00
committed by GitHub
parent 25d5e1bfe1
commit 59e38d1a46
4 changed files with 21 additions and 22 deletions
+1 -1
View File
@@ -3080,7 +3080,7 @@ float cPlayer::GetExplosionExposureRate(Vector3d a_ExplosionPosition, float a_Ex
return 0; // No impact from explosion
}
return super::GetExplosionExposureRate(a_ExplosionPosition, a_ExlosionPower);
return super::GetExplosionExposureRate(a_ExplosionPosition, a_ExlosionPower) / 30.0f;
}