fix difficulty icon placement in reverse course songs

fix global modifiers tweening in
This commit is contained in:
Glenn Maynard
2004-05-26 04:33:07 +00:00
parent 55e06955bc
commit 71df5d0d3c
4 changed files with 9 additions and 6 deletions
+4 -3
View File
@@ -430,9 +430,10 @@ void GameState::Update( float fDelta )
// converted into the current music time.
ASSERT( attack.fStartSecond != -1 );
const bool bCurrentlyEnabled =
attack.fStartSecond < this->m_fMusicSeconds &&
m_fMusicSeconds < attack.fStartSecond+attack.fSecsRemaining;
bool bCurrentlyEnabled =
attack.bGlobal ||
( attack.fStartSecond < this->m_fMusicSeconds &&
m_fMusicSeconds < attack.fStartSecond+attack.fSecsRemaining );
if( m_ActiveAttacks[p][s].bOn == bCurrentlyEnabled )
continue; /* OK */