From: david Date: Thu, 25 Apr 2002 19:25:53 +0000 (+0000) Subject: Patch from Melchior Franz: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77cf6c7dc8067c5fbab49ff20c54bff30162ddea;p=flightgear.git Patch from Melchior Franz: FGAIEntity::FastWorldCoordinate (AIEntity.cxx:96) uses this->hdg uninitialized. --- diff --git a/src/ATC/AILocalTraffic.cxx b/src/ATC/AILocalTraffic.cxx index 8ecb807c6..d95d929d6 100644 --- a/src/ATC/AILocalTraffic.cxx +++ b/src/ATC/AILocalTraffic.cxx @@ -65,6 +65,7 @@ void FGAILocalTraffic::Init() { // Hardwire to KEMT lat = 34.081358; lon = -118.037483; + hdg = 0.0; elev = (287.0 + 0.5) * SG_FEET_TO_METER; // Ground is 296 so this should be above it mag_hdg = -10.0; pitch = 0.0;