fix warning about const float

This commit is contained in:
Devin J. Pohly
2013-01-31 13:35:39 -05:00
parent 22dedf28c8
commit 106838cf64
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -979,7 +979,7 @@ void ScreenGameplay::SetupSong( int iSongIndex )
Attack a = pi->m_asModifiersQueue[iSongIndex][i];
if( a.fStartSecond != 0 )
continue;
a.fStartSecond = a.ATTACK_STARTS_NOW(); // now
a.fStartSecond = ATTACK_STARTS_NOW; // now
PlayerOptions po;
po.FromString( a.sModifiers );
@@ -1029,7 +1029,7 @@ void ScreenGameplay::SetupSong( int iSongIndex )
{
Attack a = pi->m_asModifiersQueue[iSongIndex][i];
if( a.fStartSecond == 0 )
a.fStartSecond = a.ATTACK_STARTS_NOW(); // now
a.fStartSecond = ATTACK_STARTS_NOW; // now
pi->GetPlayerState()->LaunchAttack( a );
GAMESTATE->m_SongOptions.FromString( ModsLevel_Song, a.sModifiers );