fix VC7 warnings

This commit is contained in:
Chris Danford
2003-10-22 12:28:30 +00:00
parent 513f9709ca
commit bd585e46a1
5 changed files with 13 additions and 14 deletions
+2 -2
View File
@@ -185,11 +185,11 @@ ScreenEvaluation::ScreenEvaluation( CString sClassName ) : Screen(sClassName)
case stage:
{
ASSERT( GAMESTATE->m_pCurNotes[p] );
float score;
int score;
if( PREFSMAN->m_bPercentageScoring )
score = stageStats.GetPercentDancePoints( (PlayerNumber)p );
else
score = float(stageStats.iScore[p] + stageStats.iBonus[p]);
score = stageStats.iScore[p] + stageStats.iBonus[p];
Steps::MemCardData::HighScore hs;
hs.grade = grade[p];
hs.iScore = score;