X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAICarrier.cxx;h=d3fa369a17a1783ced6e51bee7a6ae2f831b56ec;hb=4fe615fff546df5e381f7fc9ddae92dd3dc36251;hp=3a83c13fee7f7fe76487ff4afc995e7353cb3a13;hpb=f80d5676b430d0825c9c36c5fefb7517ac185b5d;p=flightgear.git diff --git a/src/AIModel/AICarrier.cxx b/src/AIModel/AICarrier.cxx index 3a83c13fe..d3fa369a1 100644 --- a/src/AIModel/AICarrier.cxx +++ b/src/AIModel/AICarrier.cxx @@ -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;