]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Airplane.cpp
Add support for a turbo prop condition lever.
[flightgear.git] / src / FDM / YASim / Airplane.cpp
index 166a861b54b1b352792da5b002dcfb2ef86d14f2..d5f49c59b603607628713c891a339dbcbedb5d17 100644 (file)
@@ -212,7 +212,7 @@ float Airplane::getFuel(int tank)
 
 float Airplane::setFuel(int tank, float fuel)
 {
-    ((Tank*)_tanks.get(tank))->fill = fuel;
+    return ((Tank*)_tanks.get(tank))->fill = fuel;
 }
 
 float Airplane::getFuelDensity(int tank)