Skip to content

Commit 54f2948

Browse files
committed
FIx CTFHudPlayerStatus Being Positioned In Front Of CCurrencyStatusPanel
Resolves ValveSoftware/Source-1-Games#6937
1 parent 48809cb commit 54f2948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/game/client/tf/tf_hud_mann_vs_machine_status.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ void CWaveStatusPanel::UpdateEnemyCounts( void )
950950
//-----------------------------------------------------------------------------
951951
// Purpose:
952952
//-----------------------------------------------------------------------------
953-
DECLARE_HUDELEMENT( CCurrencyStatusPanel );
953+
DECLARE_HUDELEMENT_DEPTH( CCurrencyStatusPanel, 49 );
954954

955955
CCurrencyStatusPanel::CCurrencyStatusPanel( const char *pElementName )
956956
: CHudElement( pElementName )
@@ -1610,7 +1610,7 @@ void CMvMBombCarrierProgress::ApplySchemeSettings( IScheme *pScheme )
16101610
//-----------------------------------------------------------------------------
16111611
// CTFHudMannVsMachineStatus
16121612
//-----------------------------------------------------------------------------
1613-
DECLARE_HUDELEMENT( CTFHudMannVsMachineStatus );
1613+
DECLARE_HUDELEMENT_DEPTH( CTFHudMannVsMachineStatus, 48 );
16141614

16151615
CTFHudMannVsMachineStatus::CTFHudMannVsMachineStatus( const char *pElementName ) :
16161616
CHudElement( pElementName ), BaseClass( NULL, "HudMannVsMachineStatus" )

0 commit comments

Comments
 (0)