Patch from Melchior Franz:
FGAIEntity::FastWorldCoordinate (AIEntity.cxx:96) uses this->hdg uninitialized.
This commit is contained in:
parent
18e36a3302
commit
77cf6c7dc8
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue