1
0
Fork 0

Patch from Andy to fix propellers on DC-3.

This commit is contained in:
david 2001-12-24 20:34:53 +00:00
parent 2db3a9a93c
commit be7cc1058a

View file

@ -155,7 +155,7 @@ void PropEngine::integrate(float dt)
// Convert to an acceleration here, so that big propellers
// don't seek faster than small ones.
float diff = Math::abs(propTorque - targetTorque) / _moment;
float diff = Math::abs((propTorque - targetTorque) / _moment);
if(diff < 10) mod = 1 + (mod-1)*(0.1*diff);
_prop->modPitch(mod);