Redo r6322, remove FLOAT_RELAXATIONs only when FEAT_SLOWGRIP is enabled.

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

Former-commit-id: 9d7f2673a4786162f02047ceed4f3ef83e4e40c2
Former-commit-id: dd9b866b7c69c5415fca968f88ff7e35a76aec27
This commit is contained in:
kakukri 2015-12-30 01:38:40 +00:00
parent 46d171fc91
commit f0e84199a9

View file

@ -424,6 +424,11 @@ void SimWheelUpdateForce(tCar *car, int index)
} else {
Ft -=F;
}
if ( !(car->features & FEAT_SLOWGRIP) ) {
FLOAT_RELAXATION2(Fn, wheel->preFn, 50.0f);
FLOAT_RELAXATION2(Ft, wheel->preFt, 50.0f);
}
wheel->relPos.az = waz;