]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a typo in proptest.cpp
authorFrederic Bouvier <fredfgfs01@free.fr>
Fri, 30 Mar 2012 18:59:39 +0000 (20:59 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Fri, 30 Mar 2012 18:59:39 +0000 (20:59 +0200)
src/FDM/YASim/proptest.cpp

index 81955b5a882912a4306a7b1143807e8978189cb8..c183f68642049b939d25d75f388e566bfa400424 100644 (file)
@@ -26,8 +26,8 @@ bool fgSetString(char const * name, char const * str) { return false; }
 SGPropertyNode* fgGetNode (const char * path, bool create) { return 0; }
 SGPropertyNode* fgGetNode (const char * path, int i, bool create) { return 0; }
 float fgGetFloat (const char * name, float defaultValue) { return 0; }
-float fgGetDouble (const char * name, double defaultValue) { return 0; }
-float fgSetDouble (const char * name, double defaultValue) { return 0; }
+double fgGetDouble (const char * name, double defaultValue) { return 0; }
+bool fgSetDouble (const char * name, double defaultValue) { return false; }
 
 static const float KTS2MPS = 0.514444444444;
 static const float RPM2RAD = 0.10471975512;