]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Rotorpart.cpp
It can't be turned off, so force the running flag to true to avoid an
[flightgear.git] / src / FDM / YASim / Rotorpart.cpp
index 9d4a1850b70c8c901e4365ed5aef657fef9cf13c..5cc302eed07c84dd5851cb16812535df24bd5694 100644 (file)
@@ -1,3 +1,5 @@
+#include <simgear/debug/logstream.hxx>
+
 #include "Math.hpp"
 #include "Rotorpart.hpp"
 #include <stdio.h>
@@ -246,7 +248,8 @@ float Rotorpart::getrealAlpha(void)
 }
 void Rotorpart::setAlphaoutput(char *text,int i)
 {
-   printf("setAlphaoutput rotorpart [%s] typ %i\n",text,i);
+   SG_LOG(SG_FLIGHT, SG_DEBUG, "setAlphaoutput rotorpart ["
+          << text << "] typ" << i);
 
    strncpy(_alphaoutputbuf[i>0],text,255);