// 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;
source = 0;
} //end update
-bool FGAICarrier::init() {
- if (!FGAIShip::init())
+bool FGAICarrier::init(bool search_in_AI_path) {
+ if (!FGAIShip::init(search_in_AI_path))
return false;
// process the 3d model here