MeteorShowersMgr.cpp   MeteorShowersMgr.cpp 
skipping to change at line 272 skipping to change at line 272
return true; return true;
} }
void MeteorShowersMgr::update(double deltaTime) void MeteorShowersMgr::update(double deltaTime)
{ {
if (!m_enablePlugin || !m_onEarth) if (!m_enablePlugin || !m_onEarth)
{ {
return; return;
} }
// is paused?
// freeze meteors at the current position
if (!StelApp::getInstance().getCore()->getTimeRate()) {
return;
}
m_meteorShowers->update(deltaTime); m_meteorShowers->update(deltaTime);
} }
void MeteorShowersMgr::draw(StelCore* core) void MeteorShowersMgr::draw(StelCore* core)
{ {
if (m_enablePlugin && m_onEarth) if (m_enablePlugin && m_onEarth)
{ {
m_meteorShowers->draw(core); m_meteorShowers->draw(core);
} }
} }
 End of changes. 1 change blocks. 
6 lines changed or deleted 0 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/