]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Hitch.hpp
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / FDM / YASim / Hitch.hpp
index 45e9e7b840ec438ce847bcdf3d05be3aca46c1a2..2badeb1fc6ba784a65759432d47f5889b204c7c0 100644 (file)
@@ -4,6 +4,7 @@
 #include <string>
 
 #include <Main/fg_props.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
 
 namespace yasim {
 
@@ -76,12 +77,12 @@ private:
     float _forceMagnitude;
     double _global_ground[4];
     float _global_vel[3];
-    char _name[256];
+    //char _name[256];
     State* _state;
     float _dist;
     float _timeLagCorrectedDist;
     SGPropertyNode_ptr _towEndNode;
-    const char *_towEndPropertyName;
+    //const char *_towEndPropertyName;
     bool _towEndIsConnectedToProperty;
     bool _nodeIsMultiplayer;
     bool _nodeIsAiAircraft;
@@ -111,6 +112,7 @@ private:
     bool _last_wish;
 
     SGPropertyNode_ptr _node;
+    simgear::TiedPropertyList _tiedProperties;
 };
 
 }; // namespace yasim