Minor simplification.

We should eventually make it not required to scroll horizontally.
This commit is contained in:
Jason Felds
2011-06-29 23:25:42 -04:00
parent ba5bef76b5
commit 92a304ab8a
+2 -1
View File
@@ -1696,7 +1696,8 @@ void ScreenGameplay::Update( float fDeltaTime )
// update fGameplaySeconds
STATSMAN->m_CurStageStats.m_fGameplaySeconds += fUnscaledDeltaTime;
if( GAMESTATE->m_Position.m_fSongBeat >= GAMESTATE->m_pCurSong->m_fFirstBeat && GAMESTATE->m_Position.m_fSongBeat < GAMESTATE->m_pCurSong->m_fLastBeat )
float curBeat = GAMESTATE->m_Position.m_fSongBeat;
if( curBeat >= GAMESTATE->m_pCurSong->m_fFirstBeat && curBeat < GAMESTATE->m_pCurSong->m_fLastBeat )
{
STATSMAN->m_CurStageStats.m_fStepsSeconds += fUnscaledDeltaTime;