more of the same

This commit is contained in:
Glenn Maynard
2002-11-16 08:54:15 +00:00
parent e587b3a012
commit 397bd8b734
4 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ void FootMeter::SetFromNotes( Notes* pNotes )
void FootMeter::SetNumFeet( int iNumFeet )
{
CString sNewText;
for( int f=0; f<NUM_FEET_IN_METER; f++ )
int f;
for( f=0; f<NUM_FEET_IN_METER; f++ )
sNewText += (f<iNumFeet) ? "1" : "0";
for( f=NUM_FEET_IN_METER; f<=13; f++ )
if( f<iNumFeet )
+2 -1
View File
@@ -42,7 +42,8 @@ MenuInput GameDef::GameInputToMenuInput( GameInput GameI ) const
ASSERT(0); return MenuInput(); // invalid m_StyleType
};
for( int i=0; i<NUM_MENU_BUTTONS; i++ )
int i;
for( i=0; i<NUM_MENU_BUTTONS; i++ )
if( m_DedicatedMenuButton[i] == GameI.button )
return MenuInput( pn, (MenuButton)i );