fix warning

This commit is contained in:
Chris Danford
2005-04-24 11:15:07 +00:00
parent 2a8f30fcd1
commit cc6369f044
2 changed files with 16 additions and 19 deletions
+1 -1
View File
@@ -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") )
{ {
-3
View File
@@ -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()
{ {