mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Ref T436, init m_s[0-3] correctly
This commit is contained in:
@@ -124,9 +124,10 @@ namespace BlackMisc
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// we start with the latest situation just to init the values
|
// we start with the latest situation just to init the values
|
||||||
m_s[0] = m_s[1] = m_s[2] = m_currentSituations.front();
|
CAircraftSituation f = m_currentSituations.front();
|
||||||
|
f.setAdjustedMSecsSinceEpoch(m_currentTimeMsSinceEpoch); // adjusted time exactly "now"
|
||||||
|
m_s[0] = m_s[1] = m_s[2] = f;
|
||||||
}
|
}
|
||||||
m_s[1].setAdjustedMSecsSinceEpoch(m_currentTimeMsSinceEpoch); // adjusted time exacty "now"
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user