EgtMachKernel :
- correzione a RemoveLastPhase per casi "strani".
This commit is contained in:
+2
-1
@@ -236,7 +236,8 @@ MachMgr::RemoveLastPhase( void)
|
||||
// se era corrente, rendo corrente la precedente
|
||||
if ( m_nCurrPhase == m_nPhasesCount)
|
||||
SetCurrPhase( m_nCurrPhase - 1) ;
|
||||
-- m_nPhasesCount ;
|
||||
// ricalcolo il numero delle fasi (per maggior robustezza)
|
||||
m_nPhasesCount = CalcPhaseCount() ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user