From 6f7d0f56868e84e913cbce5ecde6de0bf7f0aeaf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 6 Jun 2004 05:14:00 +0000 Subject: [PATCH] more debugging --- stepmania/src/Actor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index f85c7f4b2c..7420fccb8b 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -117,7 +117,8 @@ void Actor::BeginDraw() // set the world matrix and calculate actor properties bool bBlinkOn = fPercentThroughEffect > 0.5f; float fPercentBetweenColors = sinf( (fPercentThroughEffect + 0.25f) * 2 * PI ) / 2 + 0.5f; - ASSERT_M( fPercentBetweenColors >= 0 && fPercentBetweenColors <= 1, ssprintf("%f",fPercentBetweenColors) ); + ASSERT_M( fPercentBetweenColors >= 0 && fPercentBetweenColors <= 1, + ssprintf("%f, %f, %f, %f, %f, %f, %f", fPercentBetweenColors, fPercentThroughEffect, fSecsIntoPeriod, m_fEffectPeriodSeconds, m_fEffectDelay, m_fSecsIntoEffect, m_fEffectOffset ) ); float fOriginalAlpha = m_tempState.diffuse[0].a; int i;