fix warning

This commit is contained in:
Chris Danford
2004-05-23 00:57:26 +00:00
parent abfc956e4f
commit 053f27d3f4
+1 -1
View File
@@ -872,7 +872,7 @@ float Course::GetMeter( StepsType nt, CourseDifficulty cd ) const
{
/* If we have a manually-entered meter for this difficulty, use it. */
if( m_iCustomMeter[cd] != -1 )
return m_iCustomMeter[cd];
return (float)m_iCustomMeter[cd];
return roundf( GetTrail(nt,cd)->GetAverageMeter() );
}