fix compile problems (operator<() must be const)

This commit is contained in:
Glenn Maynard
2003-03-06 01:12:27 +00:00
parent 5951cf7f1f
commit 1bb3349c6e
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -81,7 +81,8 @@ bool Inventory::OnComboBroken( PlayerNumber pn, int iCombo )
int* iItems = GAMESTATE->m_iItems[pn];
// search for the item acquired
for( int item=0; item<(int)m_ItemDefs.size(); item++ )
int item;
for( item=0; item<(int)m_ItemDefs.size(); item++ )
if( m_ItemDefs[item].comboLevel > iCombo )
break;
@@ -177,4 +178,4 @@ void Inventory::RemoveAllActiveItems()
{
for( int p=0; p<NUM_PLAYERS; p++ )
m_ActiveItems[p].clear();
}
}