simplify
This commit is contained in:
@@ -566,8 +566,7 @@ void GameSoundManager::Update( float fDeltaTime )
|
|||||||
{
|
{
|
||||||
static int iBeatLastCrossed = 0;
|
static int iBeatLastCrossed = 0;
|
||||||
|
|
||||||
float fPositionSeconds = GAMESTATE->m_fMusicSeconds;
|
float fSongBeat = GAMESTATE->m_fSongBeat;
|
||||||
float fSongBeat = GAMESTATE->m_pCurSong->GetBeatFromElapsedTime( fPositionSeconds );
|
|
||||||
|
|
||||||
int iRowNow = BeatToNoteRowNotRounded( fSongBeat );
|
int iRowNow = BeatToNoteRowNotRounded( fSongBeat );
|
||||||
iRowNow = max( 0, iRowNow );
|
iRowNow = max( 0, iRowNow );
|
||||||
|
|||||||
Reference in New Issue
Block a user