Skip to content

Commit ffeb9fc

Browse files
committed
minor formatting cleanup
1 parent 1bb1a29 commit ffeb9fc

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/game/client/econ/item_selection_panel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ CEquippableItemsForSlotGenerator::CEquippableItemsForSlotGenerator( int iClass,
900900
}
901901

902902
#if TF2_OG
903-
if ( !IsWearableSlot(iSearchSlot) )
903+
if ( !IsWearableSlot( iSearchSlot ) )
904904
{
905905
eDisplayType = kSlotDisplay_Disabled_EquipRegionConflict;
906906
}

src/game/shared/tf/tf_item_inventory.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ bool CTFInventoryManager::EquipItemInLoadout( int iClass, int iSlot, itemid_t iI
331331
return false;
332332
}
333333

334-
if (!CheckExtraEquipRules(iClass, iSlot, pItem))
334+
if ( !CheckExtraEquipRules(iClass, iSlot, pItem) )
335335
{
336336
return false;
337337
}
@@ -1035,9 +1035,9 @@ void CTFPlayerInventory::LoadLocalLoadout()
10351035
CEconItemView* pItem = GetInventoryItemByItemID(uItemId);
10361036

10371037
bool bPassed = iPreset != m_ActivePreset[iClass];
1038-
if (pItem)
1038+
if ( pItem )
10391039
{
1040-
if (CheckExtraEquipRules(iClass, iSlot, pItem))
1040+
if ( CheckExtraEquipRules(iClass, iSlot, pItem) )
10411041
{
10421042
m_PresetItems[iPreset][iClass][iSlot] = uItemId;
10431043

@@ -1052,7 +1052,7 @@ void CTFPlayerInventory::LoadLocalLoadout()
10521052
}
10531053
}
10541054

1055-
if (!bPassed)
1055+
if ( !bPassed )
10561056
{
10571057
EquipLocal(INVALID_ITEM_ID, iClass, iSlot);
10581058
m_LoadoutItems[iClass][iSlot] = LOADOUT_SLOT_USE_BASE_ITEM;
@@ -1111,7 +1111,7 @@ void CTFPlayerInventory::SaveLocalLoadout( bool bReset, bool bDefaultToGC )
11111111

11121112
itemid_t uItemId = m_PresetItems[iPreset][iClass][iSlot];
11131113
//itemid_t uItemId = m_LoadoutItems[iClass][iSlot];
1114-
if (bReset) {
1114+
if ( bReset ) {
11151115
#if TF2_OG
11161116
if (bDefaultToGC)
11171117
{

0 commit comments

Comments
 (0)