A combo that's rolled over (continued) from the previous stage

starts at the beginning of the song, not from the first step.
This commit is contained in:
Glenn Maynard
2005-12-19 01:33:14 +00:00
parent a8d0b5c9f9
commit a5de2609ef
+3 -2
View File
@@ -416,10 +416,11 @@ void PlayerStageStats::UpdateComboList( float fSecond, bool bRollover )
} }
Combo_t &combo = ComboList.back(); Combo_t &combo = ComboList.back();
if( !bRollover && combo.fStartSecond == -9999 )
combo.fStartSecond = 0;
combo.fSizeSeconds = fSecond - combo.fStartSecond; combo.fSizeSeconds = fSecond - combo.fStartSecond;
combo.cnt = cnt; combo.cnt = cnt;
if( !bRollover && combo.fStartSecond == -9999 )
combo.fStartSecond = fSecond;
if( bRollover ) if( bRollover )
combo.rollover = cnt; combo.rollover = cnt;