better output

This commit is contained in:
Glenn Maynard
2003-10-21 21:33:51 +00:00
parent 593091e75e
commit f4ff423457
+1 -1
View File
@@ -41,7 +41,7 @@ int RandomGen::operator() ( int maximum )
void fapproach( float& val, float other_val, float to_move ) void fapproach( float& val, float other_val, float to_move )
{ {
ASSERT( to_move >= 0 ); RAGE_ASSERT_M( to_move >= 0, ssprintf("to_move: %f", to_move) );
if( val == other_val ) if( val == other_val )
return; return;
float fDelta = other_val - val; float fDelta = other_val - val;