Meteor.cpp   Meteor.cpp 
skipping to change at line 167 skipping to change at line 167
m_alive = true; m_alive = true;
} }
bool Meteor::update(double deltaTime) bool Meteor::update(double deltaTime)
{ {
if (!m_alive) if (!m_alive)
{ {
return false; return false;
} }
if (m_position[2] < m_finalZ) if (!m_core->getRealTimeSpeed() || m_position[2] < m_finalZ)
{ {
// burning has stopped so magnitude fades out // burning has stopped so magnitude fades out
// assume linear fade out // assume linear fade out
m_absMag -= deltaTime * 2.f; m_absMag -= deltaTime * 2.f;
} }
// no longer visible // no longer visible
if(m_absMag <= 0.f) if(m_absMag <= 0.f)
{ {
m_alive = false; m_alive = false;
 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/