diff --git a/game/reconstructed/mech4.cpp b/game/reconstructed/mech4.cpp index b480375..10c6a07 100644 --- a/game/reconstructed/mech4.cpp +++ b/game/reconstructed/mech4.cpp @@ -1968,8 +1968,10 @@ void // so the CADENCE still matches the actual travel (no foot-slip). Reverse // needs no floor -- its entry gate is `commandedSpeed < ZeroSpeed`, which // any negative demand already trips. - if (sd > walkStrideLength * 0.5f && sd < standSpeed * 1.1f) - sd = standSpeed * 1.1f; + // (CORRECTED threshold: walkStrideLength is a STRIDE metric ~22, NOT + // the walk velocity ~6.1 -- gate on standSpeed, the actual gate value.) + if (sd > standSpeed * 0.5f && sd < standSpeed * 1.05f) + sd = standSpeed * 1.05f; replMppr->speedDemand = sd; // REPLICANT TURN-STEP (user-reported: a turning peer // statue-rotates while the local mech steps): the leg SM's @@ -2060,6 +2062,8 @@ void << " spd=" << replMppr->speedDemand << " legState=" << (int)legStateAlarm.GetLevel() << " legFrm=" << legAnimation.currentFrame + << " standSp=" << standSpeed + << " walkStr=" << walkStrideLength << " nu-lp=" << (nextUpdate.ticks - lastPerformance.ticks) << " dt=" << dt << "\n" << std::flush; }