[br:warps] Fix compile by easing scope
This commit is contained in:
+13
-11
@@ -547,19 +547,21 @@ void TimingData::GetBeatAndBPSFromElapsedTimeNoOffset( float fElapsedTime, float
|
|||||||
itBPMS ++;
|
itBPMS ++;
|
||||||
break;
|
break;
|
||||||
case FOUND_STOP: // TODO: update for Delays.
|
case FOUND_STOP: // TODO: update for Delays.
|
||||||
fTimeToNextEvent = itSS->m_fStopSeconds;
|
|
||||||
fNextEventTime = fLastTime + fTimeToNextEvent;
|
|
||||||
const bool bIsDelay = itSS->m_bDelay;
|
|
||||||
if ( fElapsedTime < fNextEventTime )
|
|
||||||
{
|
{
|
||||||
bFreezeOut = !bIsDelay;
|
fTimeToNextEvent = itSS->m_fStopSeconds;
|
||||||
bDelayOut = bIsDelay;
|
fNextEventTime = fLastTime + fTimeToNextEvent;
|
||||||
fBeatOut = NoteRowToBeat( itSS->m_iStartRow );
|
const bool bIsDelay = itSS->m_bDelay;
|
||||||
fBPSOut = fBPS;
|
if ( fElapsedTime < fNextEventTime )
|
||||||
return;
|
{
|
||||||
|
bFreezeOut = !bIsDelay;
|
||||||
|
bDelayOut = bIsDelay;
|
||||||
|
fBeatOut = NoteRowToBeat( itSS->m_iStartRow );
|
||||||
|
fBPSOut = fBPS;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
fLastTime = fNextEventTime;
|
||||||
|
itSS ++;
|
||||||
}
|
}
|
||||||
fLastTime = fNextEventTime;
|
|
||||||
itSS ++;
|
|
||||||
break;
|
break;
|
||||||
case FOUND_WARP:
|
case FOUND_WARP:
|
||||||
bIsWarping = true;
|
bIsWarping = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user