]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBase.cxx
version.h support in CMake builds.
[flightgear.git] / src / AIModel / AIBase.cxx
index c206691a89436bc1503a88b33432ba1250a154c7..1e3b775d4f54ee17b94d5918df8c541c1b834d87 100644 (file)
@@ -611,7 +611,7 @@ double FGAIBase::_getRdot() const {
 }
 
 double FGAIBase::_getVS_fps() const {
-    return vs*60.0;
+    return vs/60.0;
 }
 
 double FGAIBase::_get_speed_east_fps() const {
@@ -623,7 +623,7 @@ double FGAIBase::_get_speed_north_fps() const {
 }
 
 void FGAIBase::_setVS_fps( double _vs ) {
-    vs = _vs/60.0;
+    vs = _vs*60.0;
 }
 
 double FGAIBase::_getAltitude() const {