Fixed LifeMeterBar artifacts in MAX2 and EZ2. Fixed handling of "ez2-single-hard" NotesType.

This commit is contained in:
Chris Danford
2002-09-29 18:56:54 +00:00
parent 743db5bd82
commit 23971b9c42
3 changed files with 12 additions and 7 deletions
+5
View File
@@ -1333,6 +1333,11 @@ int GameManager::NotesTypeToNumTracks( NotesType nt )
NotesType GameManager::StringToNotesType( CString sNotesType )
{
sNotesType.MakeLower();
// HACK! We elminitated "ez2-single-hard", but we should still handle it.
if( sNotesType == "ez2-single-hard" )
sNotesType = "ez2-single";
for( int i=0; i<NUM_NOTES_TYPES; i++ )
if( NotesTypes[i].name == sNotesType )
return NotesType(i);