fix warning
This commit is contained in:
@@ -135,7 +135,7 @@ void Course::LoadFromCRSFile( CString sPath )
|
||||
m_iLives = atoi( sParams[1] );
|
||||
|
||||
else if( 0 == stricmp(sValueName, "GAINSECONDS") )
|
||||
fGainSeconds = atof( sParams[1] );
|
||||
fGainSeconds = (float)atof( sParams[1] );
|
||||
|
||||
else if( 0 == stricmp(sValueName, "METER") )
|
||||
{
|
||||
|
||||
@@ -1752,8 +1752,6 @@ void ScreenGameplay::SendCrossedMessages()
|
||||
{
|
||||
float fOffsetFromCurrentSeconds = MESSAGE_SPACING_SECONDS * i;
|
||||
|
||||
bool bCrossedABeat = false;
|
||||
{
|
||||
float fPositionSeconds = GAMESTATE->m_fMusicSeconds + fOffsetFromCurrentSeconds; // trigger the light a tiny bit early
|
||||
float fSongBeat = GAMESTATE->m_pCurSong->GetBeatFromElapsedTime( fPositionSeconds );
|
||||
|
||||
@@ -1774,7 +1772,6 @@ void ScreenGameplay::SendCrossedMessages()
|
||||
|
||||
iRowLastCrossed = iRowNow;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenGameplay::BackOutFromGameplay()
|
||||
|
||||
Reference in New Issue
Block a user