]> git.mxchange.org Git - flightgear.git/commitdiff
initialize track variable in constructors
authorTim Moore <timoore@redhat.com>
Tue, 26 Jan 2010 10:06:37 +0000 (11:06 +0100)
committerTim Moore <timoore@redhat.com>
Tue, 26 Jan 2010 10:06:37 +0000 (11:06 +0100)
src/FDM/flight.cxx

index c9956d8cb85d6b062e59b47face45eea6d6ba636..10ce9948a18722f84d4b596a6726c574d70b5f5a 100644 (file)
@@ -120,6 +120,7 @@ FGInterface::_setup ()
     runway_altitude=0;
     climb_rate=0;
     altitude_agl=0;
+    track=0;
 }
 
 void