]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIMultiplayer.cxx
Interim windows build fix
[flightgear.git] / src / AIModel / AIMultiplayer.cxx
index f79ca4153f8aebb08d70f54165a1613ef5b88e58..a4176b3a6d7076fb0e0726a2051384a2dc827251 100644 (file)
@@ -28,6 +28,9 @@
 #include <string>
 #include <stdio.h>
 
+#include <Main/globals.hxx>
+#include <Main/fg_props.hxx>
+
 #include "AIMultiplayer.hxx"
 
 using std::string;
@@ -154,6 +157,7 @@ void FGAIMultiplayer::update(double dt)
     } else if (compensateLag == 1) { offset = curentPkgTime - curtime - lag;
 
     // using the prediction mode to display the mpaircraft in the futur/past with given playerlag value
+    //currently compensatelag = 2
     } else { offset = curentPkgTime - curtime + 0.48*lag + playerLag;
     }
     if ((!mAllowExtrapolation && offset + lag < mTimeOffset)