Fix some uninitialized variables (found by valgrind)
This commit is contained in:
parent
b5a6812c95
commit
461d89cb22
2 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,7 @@ FGAirport::FGAirport( PositionedID aGuid,
|
|||
_dynamics(0),
|
||||
mTowerDataLoaded(false),
|
||||
mRunwaysLoaded(false),
|
||||
mHelipadsLoaded(false),
|
||||
mTaxiwaysLoaded(false),
|
||||
mProceduresLoaded(false),
|
||||
mILSDataLoaded(false)
|
||||
|
|
|
@ -388,6 +388,7 @@ MapWidget::MapWidget(int x, int y, int maxX, int maxY) :
|
|||
_height = maxY - y;
|
||||
_hasPanned = false;
|
||||
_orthoAzimuthProject = false;
|
||||
_magneticHeadings = false;
|
||||
|
||||
MapData::setFont(legendFont);
|
||||
MapData::setPalette(colour);
|
||||
|
|
Loading…
Reference in a new issue