From: Torsten Dreyer Date: Mon, 25 Aug 2014 19:40:12 +0000 (+0200) Subject: Expose total-fuel-m3 to the tank properties X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=159ec7e08bce9abf003797a31709822edd2e81d8;p=flightgear.git Expose total-fuel-m3 to the tank properties --- diff --git a/src/FDM/TankProperties.cxx b/src/FDM/TankProperties.cxx index e07036f8f..f30371097 100644 --- a/src/FDM/TankProperties.cxx +++ b/src/FDM/TankProperties.cxx @@ -291,6 +291,7 @@ double TankPropertiesList::getTotalContent_norm() const void TankPropertiesList::bind() { + _tiedProperties.Tie("total-fuel-m3", this, &TankPropertiesList::getTotalContent_m3 ); _tiedProperties.Tie("total-fuel-kg", this, &TankPropertiesList::getTotalContent_kg ); _tiedProperties.Tie("total-fuel-lbs", this, &TankPropertiesList::getTotalContent_lbs ); _tiedProperties.Tie("total-fuel-gal_us", this, &TankPropertiesList::getTotalContent_gal_us );