Skip to content

Commit 7a8f7ab

Browse files
rabscootleEricS-Valve
authored andcommitted
Updated formatting
1 parent 569a9b5 commit 7a8f7ab

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/game/client/tf/c_tf_player.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3175,21 +3175,21 @@ bool CStatTrakDigitProxy::HelperOnBindGetStatTrakScore( void *pC_BaseEntity, int
31753175
CTFWeaponBase* pWeap = NULL;
31763176

31773177
// Check if it's an attachment for world model
3178-
C_TFWeaponAttachmentModel* pAttachment = dynamic_cast<C_TFWeaponAttachmentModel*>(pEntity);
3179-
if (pAttachment)
3178+
C_TFWeaponAttachmentModel* pAttachment = dynamic_cast<C_TFWeaponAttachmentModel*>( pEntity );
3179+
if ( pAttachment )
31803180
{
31813181
// If we're dealing with a world model, Stat Clock will be it's child attachment
31823182
C_BaseEntity* pParent = pAttachment->GetMoveParent();
3183-
if (pParent)
3183+
if ( pParent )
31843184
{
3185-
pWeap = dynamic_cast<CTFWeaponBase*>(pParent);
3185+
pWeap = dynamic_cast<CTFWeaponBase*>( pParent );
31863186
}
31873187
}
31883188

3189-
if (pWeap)
3189+
if ( pWeap )
31903190
{
31913191
CEconItemView* pItem = pWeap->GetAttributeContainer()->GetItem();
3192-
if (pItem && pItem->FindAttribute(GetKillEaterAttr_Score(0), &unScore))
3192+
if ( pItem && pItem->FindAttribute( GetKillEaterAttr_Score( 0 ), &unScore ) )
31933193
{
31943194
*piScore = unScore;
31953195
bReturnValue = true;
@@ -3199,13 +3199,13 @@ bool CStatTrakDigitProxy::HelperOnBindGetStatTrakScore( void *pC_BaseEntity, int
31993199
{
32003200
// Are we dealing with a dropped weapon?
32013201
C_BaseEntity* pParent = pEntity->GetMoveParent();
3202-
CTFDroppedWeapon* pDroppedWeapon = dynamic_cast<CTFDroppedWeapon*>(pParent);
3202+
CTFDroppedWeapon* pDroppedWeapon = dynamic_cast<CTFDroppedWeapon*>( pParent );
32033203

3204-
if (pDroppedWeapon)
3204+
if ( pDroppedWeapon )
32053205
{
32063206
// We're able to extract item attributes from dropped weapons, including strange count
32073207
CEconItemView* pItem = pDroppedWeapon->GetItem();
3208-
if (pItem && pItem->FindAttribute(GetKillEaterAttr_Score(0), &unScore))
3208+
if ( pItem && pItem->FindAttribute( GetKillEaterAttr_Score( 0 ), &unScore ) )
32093209
{
32103210
*piScore = unScore;
32113211
bReturnValue = true;

0 commit comments

Comments
 (0)