mirror of https://github.com/AxioDL/metaforce.git
CGroundMovement: Collapse 'dampUnderwater ? 0.2f : 0.2f' conditional
The conditional itself aside, in GM8E v0, this is always assigned as 0.2f.
This commit is contained in:
parent
08604d770a
commit
62330903cc
|
@ -485,7 +485,7 @@ void CGroundMovement::MoveGroundCollider_New(CStateManager& mgr, CPhysicsActor&
|
||||||
opts.x24_dampedNormalCoefficient = 0.f;
|
opts.x24_dampedNormalCoefficient = 0.f;
|
||||||
opts.x28_dampedDeltaCoefficient = 1.f;
|
opts.x28_dampedDeltaCoefficient = 1.f;
|
||||||
opts.x2c_floorElasticForce = 0.1f;
|
opts.x2c_floorElasticForce = 0.1f;
|
||||||
opts.x30_wallElasticConstant = dampUnderwater ? 0.2f : 0.2f;
|
opts.x30_wallElasticConstant = 0.2f;
|
||||||
opts.x3c_floorPlaneNormal = player.GetLastFloorPlaneNormal();
|
opts.x3c_floorPlaneNormal = player.GetLastFloorPlaneNormal();
|
||||||
opts.x38_maxPositiveVerticalVelocity = player.GetMaximumPlayerPositiveVerticalVelocity(mgr);
|
opts.x38_maxPositiveVerticalVelocity = player.GetMaximumPlayerPositiveVerticalVelocity(mgr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue