- Update USR's driver

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6844 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e1b3d3c35ad822004326d3bc176811e7b2939961
Former-commit-id: 14d792f8856d1f2a51d4975114773fa1c3ee5cf0
This commit is contained in:
torcs-ng 2020-02-23 02:20:21 +00:00
parent 047e0e7025
commit c56f6a7e1a

View file

@ -57,6 +57,7 @@ void SingleCardata::update()
TYREWEAR = MIN(TyreTreadDepthFront(), TyreTreadDepthRear());
CRITICAL_TYREWEAR = MAX(MAX(car->_tyreCritTreadDepth(0), car->_tyreCritTreadDepth(1)), MAX(car->_tyreCritTreadDepth(2), car->_tyreCritTreadDepth(3)));
LogUSR.info(" # Condition = %.7f - wear tread = %.7f - Critical tread = %.7f\n", GRIP_FACTOR, TYREWEAR, CRITICAL_TYREWEAR);
}
lastspeed[2].ax = lastspeed[1].ax;