Remove uneccessary explicit update of FGLight
This commit is contained in:
parent
0c342308eb
commit
9b2cea33e8
2 changed files with 0 additions and 6 deletions
src/Main
|
@ -62,7 +62,6 @@ class FGFlightPlanDispatcher;
|
|||
class FGNavList;
|
||||
class FGAirwayNetwork;
|
||||
class FGTACANList;
|
||||
class FGLight;
|
||||
class FGModelMgr;
|
||||
class FGRouteMgr;
|
||||
class FGScenery;
|
||||
|
|
|
@ -132,11 +132,6 @@ static void fgMainLoop( void ) {
|
|||
// compute simulated time (allowing for pause, warp, etc) and
|
||||
// real elapsed time
|
||||
timeMgr->computeTimeDeltas(sim_dt, real_dt);
|
||||
|
||||
if (globals->get_warp_delta() != 0) {
|
||||
FGLight *l = (FGLight *)(globals->get_subsystem("lighting"));
|
||||
l->update( 0.5 );
|
||||
}
|
||||
|
||||
// update magvar model
|
||||
globals->get_mag()->update( longitude->getDoubleValue()
|
||||
|
|
Loading…
Add table
Reference in a new issue