]> git.mxchange.org Git - flightgear.git/commitdiff
uninitialized variable fix from Vivian Meazza
authortimoore <timoore>
Mon, 15 Jun 2009 09:38:04 +0000 (09:38 +0000)
committerTim Moore <timoore@redhat.com>
Tue, 16 Jun 2009 09:32:14 +0000 (11:32 +0200)
src/AIModel/AICarrier.cxx

index de59545d6f225e5dd967dd7cfe66d97cfeefb862..4e98e29acc60e299b3119514ffb39bd909a8abfc 100644 (file)
@@ -376,7 +376,7 @@ bool FGAICarrier::init(bool search_in_AI_path) {
     base_course = hdg;
     base_speed = speed;
 
-    pos_norm = 0;
+    pos_norm = raw_pos_norm = 0;
     elevators = false;
     transition_time = 150;
     time_constant = 0.005;