From fcb669789915f78c3501db174d4da11078d486a0 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 6 Jul 2017 21:44:17 +0100 Subject: [PATCH] Fix typo of one one instead of L L in Hp to Watts conversion constant --- src/ground_vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ground_vehicle.cpp b/src/ground_vehicle.cpp index 91d1900558..37c253eae7 100644 --- a/src/ground_vehicle.cpp +++ b/src/ground_vehicle.cpp @@ -176,7 +176,7 @@ int GroundVehicle::GetAcceleration() /* We'd like to cache this, but changing cached_power has too many unwanted side-effects */ uint32 power_temp; this->CalculatePower(power_temp, max_te, true); - power = power_temp * 74611; + power = power_temp * 746ll; }