fix warning
This commit is contained in:
@@ -1258,7 +1258,7 @@ void NoteDataUtil::AddTapAttacks( NoteData &nd, Song* pSong )
|
||||
attack.fSecsRemaining = 15;
|
||||
attack.sModifier = szAttacks[rand()%ARRAYSIZE(szAttacks)];
|
||||
attack.level = ATTACK_LEVEL_1;
|
||||
nd.SetTapAttackNote( iTrack, BeatToNoteRow(iBeat), attack );
|
||||
nd.SetTapAttackNote( iTrack, BeatToNoteRow(fBeat), attack );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1239,7 +1239,7 @@ void ScreenGameplay::Update( float fDeltaTime )
|
||||
if( bPlayTicks )
|
||||
{
|
||||
float fSecsPerBeat = 1.f/GAMESTATE->m_fCurBPS;
|
||||
float fSecsToLight = fSecsPerBeat*.2;
|
||||
float fSecsToLight = fSecsPerBeat*.2f;
|
||||
s_fSecsLeftOnUpperLights = fSecsToLight;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user