- fix bug with compounds when player level < semi-pro
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9182 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
parent
699886d40c
commit
1abe42a25d
|
@ -294,7 +294,7 @@ void SDWheels::updateWheels()
|
|||
if (compounds)
|
||||
{
|
||||
this->wheels_switches[i]->setSingleChildOn(v);
|
||||
GfLogDebug("Drawing Compounds = %i\n", v);
|
||||
GfLogInfo("Drawing Compounds = %i\n", v);
|
||||
}
|
||||
else
|
||||
this->wheels_switches[i]->setSingleChildOn(j);
|
||||
|
|
|
@ -99,7 +99,7 @@ void SimWheelConfig(tCar *car, int index)
|
|||
wheel->hysteresisFactorC[4] *= 1.5;
|
||||
wheel->hysteresisFactorC[5] *= 2.0;
|
||||
wheel->wearFactorC[4] *= 3.5;
|
||||
wheel->wearFactorC[5] *= 3.5;
|
||||
wheel->wearFactorC[5] *= 4.5;
|
||||
GfLogInfo("# Simu wear factor compound with no rain wet = %.4f - extreme wet = %.4f\n",
|
||||
wheel->wearFactorC[4], wheel->wearFactorC[5]);
|
||||
}
|
||||
|
@ -288,6 +288,7 @@ void SimWheelConfig(tCar *car, int index)
|
|||
carElt->_tyreCondition(index) = 1.0;
|
||||
carElt->_tyreTreadDepth(index) = wheel->treadDepth;
|
||||
carElt->_tyreCurrentPressure(index) = wheel->pressure;
|
||||
carElt->_tyreCompound(index) = wheel->tireSet;
|
||||
|
||||
wheel->mfC = (tdble)(2.0 - asin(RFactor) * 2.0 / PI);
|
||||
wheel->mfB = Ca / wheel->mfC;
|
||||
|
|
Loading…
Reference in New Issue