Skip to content

Commit 8a720fb

Browse files
committed
Revert "Implement ValveSoftware#1403"
This reverts commit c7d99d6.
1 parent 231b12c commit 8a720fb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/game/client/tf/tf_hud_target_id.cpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -621,20 +621,12 @@ void CTargetID::PerformLayout( void )
621621
iWidth += m_pAvatarImage->GetWide() + XRES( 2 );
622622
}
623623

624-
#ifdef BDSBASE
625-
int iTextW;
626-
#else
627624
int iTextW, iTextH;
628-
#endif
629625
int iDataW, iDataH;
630626

631627
if ( m_pTargetNameLabel && m_pTargetDataLabel )
632628
{
633-
#ifdef BDSBASE
634-
m_pTargetNameLabel->GetTextImage()->GetDrawWidth(iTextW);
635-
#else
636-
m_pTargetNameLabel->GetContentSize(iTextW, iTextH);
637-
#endif
629+
m_pTargetNameLabel->GetContentSize( iTextW, iTextH );
638630
m_pTargetDataLabel->GetContentSize( iDataW, iDataH );
639631
iWidth += MAX(iTextW,iDataW);
640632

0 commit comments

Comments
 (0)