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