Add comment about cause of throttle pulsing when reversing.

This commit is contained in:
Veyrdite 2021-07-23 18:18:29 +10:00
parent c87654ec77
commit 879280bcf7
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ cTransmission::CalculateGearForSimpleCar(float speed, uint8 &gear)
}
}
/* This function causes 'pulsing' of throttle when reversing at max speed. You
* can most easily observe this when the framelimiter is enabled.*/
float
cTransmission::CalculateDriveAcceleration(const float &gasPedal, uint8 &gear, float &time, const float &velocity, bool cheat)
{