use builtins for booleans

This commit is contained in:
Glenn Maynard
2002-12-17 21:15:47 +00:00
parent e0b058d76b
commit 5800971a2f
+3 -3
View File
@@ -39,7 +39,7 @@ Actor::Actor()
m_fWagTimer = 0.0f;
m_vSpinVelocity = RageVector3(0,0,0);
m_fVibrationDistance = 5.0f;
m_bVisibleThisFrame = FALSE;
m_bVisibleThisFrame = false;
m_bShadow = false;
m_fShadowLength = 4;
@@ -216,14 +216,14 @@ void Actor::Update( float fDeltaTime )
if( m_fPercentBetweenColors > 1.0f ) {
m_fPercentBetweenColors = 1.0f;
m_bTweeningTowardEndColor = FALSE;
m_bTweeningTowardEndColor = false;
}
}
else { // !m_bTweeningTowardEndColor
m_fPercentBetweenColors -= m_fDeltaPercentPerSecond * fDeltaTime;
if( m_fPercentBetweenColors < 0.0f ) {
m_fPercentBetweenColors = 0.0f;
m_bTweeningTowardEndColor = TRUE;
m_bTweeningTowardEndColor = true;
}
}
//LOG->Trace( "Actor::m_fPercentBetweenColors %f", m_fPercentBetweenColors );