Skip to content

Commit 778dffa

Browse files
committed
1 parent 39b913d commit 778dffa

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/game/client/tf/tf_hud_mann_vs_machine_status.cpp

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,11 @@ void CWaveStatusPanel::UpdateEnemyCounts( void )
11761176
//-----------------------------------------------------------------------------
11771177
// Purpose:
11781178
//-----------------------------------------------------------------------------
1179-
DECLARE_HUDELEMENT( CCurrencyStatusPanel );
1179+
#ifdef BDSBASE
1180+
DECLARE_HUDELEMENT_DEPTH(CCurrencyStatusPanel, 49);
1181+
#else
1182+
DECLARE_HUDELEMENT(CCurrencyStatusPanel);
1183+
#endif
11801184

11811185
CCurrencyStatusPanel::CCurrencyStatusPanel( const char *pElementName )
11821186
: CHudElement( pElementName )
@@ -1836,7 +1840,12 @@ void CMvMBombCarrierProgress::ApplySchemeSettings( IScheme *pScheme )
18361840
//-----------------------------------------------------------------------------
18371841
// CTFHudMannVsMachineStatus
18381842
//-----------------------------------------------------------------------------
1839-
DECLARE_HUDELEMENT( CTFHudMannVsMachineStatus );
1843+
1844+
#ifdef BDSBASE
1845+
DECLARE_HUDELEMENT_DEPTH(CTFHudMannVsMachineStatus, 48);
1846+
#else
1847+
DECLARE_HUDELEMENT(CTFHudMannVsMachineStatus);
1848+
#endif
18401849

18411850
CTFHudMannVsMachineStatus::CTFHudMannVsMachineStatus( const char *pElementName ) :
18421851
CHudElement( pElementName ), BaseClass( NULL, "HudMannVsMachineStatus" )

0 commit comments

Comments
 (0)