MeteorMgr.cpp   MeteorMgr.cpp 
skipping to change at line 156 skipping to change at line 156
if (ZHR>0 && prob<((double)ZHR*zhrToWsr*deltaTime/1000.0/(do uble)mpf)) if (ZHR>0 && prob<((double)ZHR*zhrToWsr*deltaTime/1000.0/(do uble)mpf))
{ {
Meteor *m = new Meteor(core, maxVelocity); Meteor *m = new Meteor(core, maxVelocity);
active.push_back(m); active.push_back(m);
} }
} }
} }
void MeteorMgr::draw(StelCore* core) void MeteorMgr::draw(StelCore* core)
{ {
if (!flagShow) if (!flagShow || !core->getSkyDrawer()->getFlagHasAtmosphere())
{ {
return; return;
} }
LandscapeMgr* landmgr = GETSTELMODULE(LandscapeMgr); LandscapeMgr* landmgr = GETSTELMODULE(LandscapeMgr);
if (landmgr->getFlagAtmosphere() && landmgr->getLuminance()>5) if (landmgr->getFlagAtmosphere() && landmgr->getLuminance()>5)
{ {
return; return;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/