CWarWasp: Amend damping radius value within ApplyNormalSteering()

GM8E v0-00 uses 2.5 for the second Arrival() damping radius value, not 3.0.
This commit is contained in:
Lioncash 2020-02-01 16:35:56 -05:00
parent cbf7140d21
commit f675bc3857
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ void CWarWasp::ApplyNormalSteering(CStateManager& mgr) {
CBCLocomotionCmd(x45c_steeringBehaviors.Arrival(*this, teamPos, 3.f), zeus::skZero3f, 1.f));
zeus::CVector3f target = GetTranslation();
target.z() = float(teamPos.z());
zeus::CVector3f moveVec = x45c_steeringBehaviors.Arrival(*this, target, 3.f);
zeus::CVector3f moveVec = x45c_steeringBehaviors.Arrival(*this, target, 2.5f);
if (moveVec.magSquared() > 0.01f) {
x450_bodyController->GetCommandMgr().DeliverCmd(CBCLocomotionCmd(moveVec, zeus::skZero3f, 3.f));
}