]> git.mxchange.org Git - flightgear.git/blobdiff - src/NetworkOLK/net_send.cxx
- adjusted for no-value constructor for FGPanel
[flightgear.git] / src / NetworkOLK / net_send.cxx
index a8e5204ae30bc8048832c3b15b7248d542788b3c..b417c1d725a40b75d7cfdb788884e1bf823940d4 100644 (file)
@@ -382,8 +382,8 @@ void fgd_send_com( char *FGD_com, char *FGFS_host) {
    speed loss/gain in network-area...
 */
                           get_latitude(), get_longitude(), get_altitude(),
-                          get_speed(), get_roll()*RAD_TO_DEG,
-                          get_pitch()*RAD_TO_DEG, get_heading());
+                          get_speed(), get_roll()*SGD_RADIANS_TO_DEGREES,
+                          get_pitch()*SGD_RADIANS_TO_DEGREES, get_heading());
                  write( sock, fgd_txt, 56);
                  break;