Fix #6920: Make 9.8m/s^2 a common constant for TE-calculation

This commit is contained in:
Johannes E. Krause
2018-09-29 13:26:44 +02:00
committed by Michael Lutz
parent 060248a422
commit 662dcc3c31
4 changed files with 8 additions and 6 deletions

View File

@@ -17,6 +17,8 @@
/** The type all our vehicle IDs have. */
typedef uint32 VehicleID;
static const int GROUND_ACCELERATION = 9800; ///< Acceleration due to gravity, 9.8 m/s^2
/** Available vehicle types. */
enum VehicleType {
VEH_BEGIN,