Fix #3621
This commit is contained in:
parent
940170cf61
commit
1f1734e5a7
@ -157,11 +157,13 @@ public:
|
||||
// Note: GO_PHASE is both: start phase and race phase
|
||||
bool isStartPhase() const { return m_phase<GO_PHASE; }
|
||||
// ------------------------------------------------------------------------
|
||||
bool isRacePhase() const { return m_phase>=GO_PHASE &&
|
||||
m_phase<FINISH_PHASE; }
|
||||
bool isRacePhase() const { return (m_phase>=GO_PHASE &&
|
||||
m_phase<FINISH_PHASE) ||
|
||||
m_phase == GOAL_PHASE; }
|
||||
// ------------------------------------------------------------------------
|
||||
bool isActiveRacePhase() const { return m_phase>=GO_PHASE &&
|
||||
m_phase<DELAY_FINISH_PHASE; }
|
||||
bool isActiveRacePhase() const { return (m_phase>=GO_PHASE &&
|
||||
m_phase<DELAY_FINISH_PHASE) ||
|
||||
m_phase == GOAL_PHASE; }
|
||||
// ------------------------------------------------------------------------
|
||||
/** While the race menu is being displayed, m_phase is limbo, and
|
||||
* m_previous_phase is finish. So we have to test this case, too. */
|
||||
|
Loading…
Reference in New Issue
Block a user