]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AICarrier.cxx
Modified Files:
[flightgear.git] / src / AIModel / AICarrier.cxx
index 3a83c13fee7f7fe76487ff4afc995e7353cb3a13..d3fa369a17a1783ced6e51bee7a6ae2f831b56ec 100644 (file)
@@ -271,7 +271,7 @@ void FGAICarrier::update(double dt) {
     // For the flols reuse some computations done above ...
 
     // The position of the eyepoint - at least near that ...
-    SGVec3d eyePos(globals->get_current_view()->get_absolute_view_pos());
+    SGVec3d eyePos(globals->get_current_view()->get_view_pos());
     // Add the position offset of the AIModel to gain the earth
     // centered position
     SGVec3d eyeWrtCarrier = eyePos - cartPos;