class SRKFBuyMenuInvListBox extends KFBuyMenuInvListBox;

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
	DefaultListClass = string(Class'SRKFBuyMenuInvList');
	Super.InitComponent(MyController,MyOwner);
}
final function GUIBuyable FindMatchingBuyable( Class<Actor> A )
{
	local bool bArmor;
	local int i;

	bArmor = (A==Class'Vest');
	for( i=0; i<List.MyBuyables.Length; ++i )
		if( List.MyBuyables[i]!=None && (List.MyBuyables[i].ItemWeaponClass==A || (bArmor && List.MyBuyables[i].bIsVest)) )
			return List.MyBuyables[i];
	return None;
}

defaultproperties
{
}
