Really fixed detection of the first turn (commit 43954a9 was wrong)

This commit is contained in:
Olivier Teulière 2012-02-25 23:15:20 +01:00
parent 6ac6849bf8
commit f1c8bd587b

View file

@ -81,7 +81,7 @@ bool Navigation::isFirstTurn() const
{
return m_currTurn == 0 &&
m_turnCommands[m_currTurn]->isPartiallyExecuted() &&
(m_turnCommands.size() == 1 ||
(!m_turnCommands[m_currTurn]->hasNonAutoExecCmd() ||
!m_turnCommands[m_currTurn]->isFullyExecuted());
}