1
0
Fork 0

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:
James Turner 2012-09-27 15:15:02 +01:00
parent 37d0c19f7c
commit fe3a1424eb

View file

@ -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("");