fix warning
This commit is contained in:
@@ -353,14 +353,14 @@ int Profile::GetActualCourseDancePointsForStepsType( StepsType st ) const
|
|||||||
|
|
||||||
float Profile::GetPercentCompleteForStepsType( StepsType st ) const
|
float Profile::GetPercentCompleteForStepsType( StepsType st ) const
|
||||||
{
|
{
|
||||||
float fPossible =
|
int iPossible =
|
||||||
GetPossibleSongDancePointsForStepsType( st ) +
|
GetPossibleSongDancePointsForStepsType( st ) +
|
||||||
GetPossibleCourseDancePointsForStepsType( st );
|
GetPossibleCourseDancePointsForStepsType( st );
|
||||||
float fActual =
|
int iActual =
|
||||||
GetActualSongDancePointsForStepsType( st ) +
|
GetActualSongDancePointsForStepsType( st ) +
|
||||||
GetActualCourseDancePointsForStepsType( st );
|
GetActualCourseDancePointsForStepsType( st );
|
||||||
|
|
||||||
return fActual / fPossible;
|
return float(iActual) / iPossible;
|
||||||
}
|
}
|
||||||
|
|
||||||
CString Profile::GetProfileDisplayNameFromDir( CString sDir )
|
CString Profile::GetProfileDisplayNameFromDir( CString sDir )
|
||||||
|
|||||||
Reference in New Issue
Block a user