Restore the fdm-init check to splash-screen logic.
Guessing this is the cause of the splash-screen coming down early in some cases. Adding this back to confirm or deny that guess.
This commit is contained in:
parent
37d0c19f7c
commit
fe3a1424eb
1 changed files with 2 additions and 1 deletions
|
@ -321,7 +321,8 @@ void FGTileMgr::update(double)
|
|||
// scenery loading check, triggers after each sim (tile manager) reinit
|
||||
if (!_scenery_loaded->getBoolValue())
|
||||
{
|
||||
if (_scenery_override->getBoolValue() || isSceneryLoaded())
|
||||
bool fdmInited = fgGetBool("sim/fdm-initialized");
|
||||
if (_scenery_override->getBoolValue() || (isSceneryLoaded() && fdmInited))
|
||||
{
|
||||
_scenery_loaded->setBoolValue(true);
|
||||
fgSplashProgress("");
|
||||
|
|
Loading…
Add table
Reference in a new issue