This commit is contained in:
Steve Checkoway
2006-09-02 21:19:32 +00:00
parent 7f3f7b4d6f
commit 9613079a92
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -1680,8 +1680,7 @@ void ScreenGameplay::Update( float fDeltaTime )
float fSecondsToStop = GAMESTATE->m_pCurSong->GetElapsedTimeFromBeat( GAMESTATE->m_pCurSong->m_fLastBeat );
/* Make sure we keep going long enough to register a miss for the last note. */
Player &player = *m_vPlayerInfo[0].m_pPlayer;
fSecondsToStop += player.GetMaxStepDistanceSeconds();
fSecondsToStop += Player::GetMaxStepDistanceSeconds();
if( GAMESTATE->m_fMusicSeconds > fSecondsToStop && !m_SongFinished.IsTransitioning() && !m_NextSong.IsTransitioning() )
m_SongFinished.StartTransitioning( SM_NotesEnded );