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:
Lioncash 2020-02-26 04:18:55 -05:00
parent 08604d770a
commit 62330903cc
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ void CGroundMovement::MoveGroundCollider_New(CStateManager& mgr, CPhysicsActor&
opts.x24_dampedNormalCoefficient = 0.f;
opts.x28_dampedDeltaCoefficient = 1.f;
opts.x2c_floorElasticForce = 0.1f;
opts.x30_wallElasticConstant = dampUnderwater ? 0.2f : 0.2f;
opts.x30_wallElasticConstant = 0.2f;
opts.x3c_floorPlaneNormal = player.GetLastFloorPlaneNormal();
opts.x38_maxPositiveVerticalVelocity = player.GetMaximumPlayerPositiveVerticalVelocity(mgr);