From 318123451535a0e483080bc66d69977a86cb6398 Mon Sep 17 00:00:00 2001 From: harunasan Date: Thu, 29 Feb 2024 05:54:03 +0000 Subject: [PATCH] SimUV4.1: Fixed Grip Factor when using Arcade/Rookie/Amateur player modes git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9348 30fe4595-0a0c-4342-8851-515496e4dcbd --- src/modules/simu/simuv4.1/wheel.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/simu/simuv4.1/wheel.cpp b/src/modules/simu/simuv4.1/wheel.cpp index d3999a264..97c2d6f91 100644 --- a/src/modules/simu/simuv4.1/wheel.cpp +++ b/src/modules/simu/simuv4.1/wheel.cpp @@ -662,11 +662,16 @@ void SimWheelUpdateForce(tCar *car, int index) mu = wheel->mu * (wheel->lfMin + (wheel->lfMax - wheel->lfMin) * exp(wheel->lfK * wheel->forces.z / wheel->opLoad)); //temperature and degradation - if (car->features & FEAT_TIRETEMPDEG) + if (car->features & FEAT_TIRETEMPDEG && car->carElt->_skillLevel > 3) { tireCond = wheel->currentGripFactor; mu *= tireCond; } + else + { + tireCond = 1; + mu *= tireCond; + } F *= wheel->forces.z * mu * wheel->trkPos.seg->surface->kFriction * (1.0f + 0.05f * sin((-wheel->staticPos.ax + camberDelta) * 18.0f)); /* coeff */