fix warning

This commit is contained in:
Glenn Maynard
2003-11-24 00:54:27 +00:00
parent c188984dc7
commit 01e7a4d2a0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 );
}
}
+1 -1
View File
@@ -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