fix melee car damage

This commit is contained in:
Fire-Head 2020-08-30 17:50:03 +03:00
parent a8999bbf38
commit c22d252246

View file

@ -744,7 +744,7 @@ CWeapon::FireMelee(CEntity *shooter, CVector &fireSource)
} }
else else
{ {
nearCar->VehicleDamage(info->m_nDamage* (0.00075f * nearCar->pHandling->fMass), gaTempSphereColPoints[0].pieceB); nearCar->VehicleDamage(info->m_nDamage* (0.01f * nearCar->pHandling->fMass), gaTempSphereColPoints[0].pieceB);
} }
if (nearCar->m_fHealth < oldHealth) if (nearCar->m_fHealth < oldHealth)
{ {