]> git.mxchange.org Git - flightgear.git/commitdiff
the const-ness wasn't such a good idea :-)
authormfranz <mfranz>
Sat, 28 Jan 2006 22:41:20 +0000 (22:41 +0000)
committermfranz <mfranz>
Sat, 28 Jan 2006 22:41:20 +0000 (22:41 +0000)
src/Input/input.cxx

index 64635c23783e2b0e646d3b3b31b7050be8319761..003362ace2c95013e12e23fc971684ff2dc8eff8 100644 (file)
@@ -324,13 +324,13 @@ FGInput::doMouseClick (int b, int updown, int x, int y)
 
         Point3D geod = sgCartToGeod(Point3D(hit[0], hit[1], hit[2]));
 
-        static const SGPropertyNode_ptr lon
+        static SGPropertyNode_ptr lon
                 = fgGetNode("/sim/input/click/longitude-deg", true);
-        static const SGPropertyNode_ptr lat
+        static SGPropertyNode_ptr lat
                 = fgGetNode("/sim/input/click/latitude-deg", true);
-        static const SGPropertyNode_ptr elev_m
+        static SGPropertyNode_ptr elev_m
                 = fgGetNode("/sim/input/click/elevation-m", true);
-        static const SGPropertyNode_ptr elev_ft
+        static SGPropertyNode_ptr elev_ft
                 = fgGetNode("/sim/input/click/elevation-ft", true);
 
         lon->setDoubleValue(geod.lon() * SGD_RADIANS_TO_DEGREES);