Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Add comment about cause of throttle pulsing when reversing.
  • Loading branch information
Veyrdite committed Jul 23, 2021
1 parent c87654e commit 879280bcf7abb2f21c6d4886bbb89ce640e478ae
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/vehicles/Transmission.cpp
@@ -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)
{

0 comments on commit 879280b

Please sign in to comment.