]> git.mxchange.org Git - simgear.git/blobdiff - simgear/route/waypoint.cxx
Frederic Bouvier:
[simgear.git] / simgear / route / waypoint.cxx
index 9e6820b911ddd08b7e3f6f59650912a0c2bd49f9..3de5941d399a9ec60737d776adfd009ff7e75bc1 100644 (file)
 
 // Constructor
 SGWayPoint::SGWayPoint( const double lon, const double lat, const double alt,
-                       const modetype m, const string s ) {
+                       const modetype m, const string s, const string n ) {
     target_lon = lon;
     target_lat = lat;
     target_alt = alt;
     mode = m;
     id = s;
+    name = n;
 }