]> git.mxchange.org Git - flightgear.git/blobdiff - src/MultiPlayer/mpmessages.hxx
Fix two bugs in the new autopilot code
[flightgear.git] / src / MultiPlayer / mpmessages.hxx
index 352eb576535a4495bd8aa92a081bd57f58c3a305..dded2b3e2175819b6fa1eef626e4f66b853c48ff 100644 (file)
@@ -119,7 +119,7 @@ struct FGPropertyData {
   unsigned id;
   
   // While the type isn't transmitted, it is needed for the destructor
-  SGPropertyNode::Type type;
+  simgear::props::Type type;
   union { 
     int int_value;
     float float_value;
@@ -127,7 +127,7 @@ struct FGPropertyData {
   }; 
   
   ~FGPropertyData() {
-    if ((type == SGPropertyNode::STRING) || (type == SGPropertyNode::UNSPECIFIED))
+    if ((type == simgear::props::STRING) || (type == simgear::props::UNSPECIFIED))
     {
       delete [] string_value;
     }