]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIGAVFRTraffic.hxx
don't set the callsign, but use the set one
[flightgear.git] / src / ATC / AIGAVFRTraffic.hxx
index e2bbb5733b5fe596b7b3ba81b407133b790afa2f..48c9ce9408176d0e0df5079e8515646adb2d7472 100644 (file)
@@ -22,8 +22,6 @@
 #ifndef _FG_AIGAVFRTraffic_HXX
 #define _FG_AIGAVFRTraffic_HXX
 
-#include <plib/sg.h>
-#include <plib/ssg.h>
 #include <simgear/math/point3d.hxx>
 #include <Main/fg_props.hxx>
 
@@ -44,9 +42,9 @@ public:
        ~FGAIGAVFRTraffic();
        
        // Init en-route to destID at point pt. (lat, lon, elev) (elev in meters, lat and lon in degrees).
-       bool Init(Point3D pt, string destID, const string& callsign);
+       bool Init(const Point3D& pt, const string& destID, const string& callsign);
        // Init at srcID to fly to destID
-       bool Init(string srcID, string destID, const string& callsign, OperatingState state = PARKED);
+       bool Init(const string& srcID, const string& destID, const string& callsign, OperatingState state = PARKED);
        
        // Run the internal calculations
        void Update(double dt);