mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 13:20:00 +00:00
fix melee car damage
This commit is contained in:
parent
a8999bbf38
commit
c22d252246
|
@ -744,7 +744,7 @@ CWeapon::FireMelee(CEntity *shooter, CVector &fireSource)
|
|||
}
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue