From 2dee2b1cf76b98d231447523759bfc5e2d63501c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 5 Oct 2006 07:33:47 +0000 Subject: [PATCH] cleanup --- stepmania/src/Song.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index b05a072d4a..3f257381fa 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -810,7 +810,7 @@ void Song::AddAutoGenNotes() int iNumTracksOfMissing = GAMEMAN->StepsTypeToNumTracks(stMissing); // look for closest match - StepsType stBestMatch = (StepsType)-1; + StepsType stBestMatch = StepsType_Invalid; int iBestTrackDifference = INT_MAX; FOREACH_StepsType( st ) @@ -828,7 +828,7 @@ void Song::AddAutoGenNotes() } } - if( stBestMatch != -1 ) + if( stBestMatch != StepsType_Invalid ) AutoGen( stMissing, stBestMatch ); } }