Minor clean-up.
This commit is contained in:
parent
b501dc97ce
commit
3e08e5ecfe
3 changed files with 5 additions and 5 deletions
|
@ -1408,6 +1408,7 @@ bool fgInitSubsystems() {
|
|||
// End of subsystem initialization.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
fgSetBool("/sim/crashed", false);
|
||||
fgSetBool("/sim/initialized", true);
|
||||
|
||||
SG_LOG( SG_GENERAL, SG_INFO, endl);
|
||||
|
|
|
@ -59,9 +59,10 @@ FGTileMgr::FGTileMgr():
|
|||
state( Start ),
|
||||
last_state( Running ),
|
||||
vis( 16000 ),
|
||||
_terra_sync(NULL)
|
||||
_terra_sync(NULL),
|
||||
_visibilityMeters = fgGetNode("/environment/visibility-m", true),
|
||||
_maxTileRangeM = fgGetNode("/sim/rendering/static-lod/bare", true)
|
||||
{
|
||||
_maxTileRangeM = fgGetNode("/sim/rendering/static-lod/bare", true);
|
||||
}
|
||||
|
||||
|
||||
|
@ -89,8 +90,6 @@ void FGTileMgr::init() {
|
|||
std::copy(sc.begin(), sc.end(), back_inserter(fp));
|
||||
|
||||
TileEntry::setModelLoadHelper(this);
|
||||
|
||||
_visibilityMeters = fgGetNode("/environment/visibility-m", true);
|
||||
|
||||
reinit();
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ private:
|
|||
|
||||
static void refresh_tile(void* tileMgr, long tileIndex);
|
||||
|
||||
SGPropertyNode* _visibilityMeters;
|
||||
SGPropertyNode_ptr _visibilityMeters;
|
||||
SGPropertyNode_ptr _maxTileRangeM;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Reference in a new issue