Fix VC8 macro redef warning. (more to come)

This commit is contained in:
Jason Felds
2006-07-18 03:56:37 +00:00
parent 4f8049377b
commit 366c3440d4
29 changed files with 84 additions and 83 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ void ScreenEvaluation::Init()
{
const int ScoreBonuses[] = { 10000000, 10000000, 1000000, 100000, 10000, 1000, 100 };
Grade g = STATSMAN->m_CurStageStats.m_player[p].GetGrade();
if( g < (int) ARRAYSIZE(ScoreBonuses) )
if( g < (int) ARRAY_SIZE(ScoreBonuses) )
{
STATSMAN->m_CurStageStats.m_player[p].iBonus += ScoreBonuses[(int)g];
STATSMAN->m_CurStageStats.m_player[p].iBonus += ScoreBonuses[(int)g];