1
0
Fork 0

Remove uneccessary explicit update of FGLight

This commit is contained in:
James Turner 2010-10-04 09:13:26 +01:00
parent 0c342308eb
commit 9b2cea33e8
2 changed files with 0 additions and 6 deletions

View file

@ -62,7 +62,6 @@ class FGFlightPlanDispatcher;
class FGNavList;
class FGAirwayNetwork;
class FGTACANList;
class FGLight;
class FGModelMgr;
class FGRouteMgr;
class FGScenery;

View file

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