1
0
Fork 0

Patch from Melchior Franz:

FGAIEntity::FastWorldCoordinate (AIEntity.cxx:96) uses this->hdg
uninitialized.
This commit is contained in:
david 2002-04-25 19:25:53 +00:00
parent 18e36a3302
commit 77cf6c7dc8

View file

@ -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;