Skip to content

Commit 5ec350f

Browse files
committed
remove new tmp buffer wzValue
1 parent c61e54e commit 5ec350f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/game/client/swarm/vgui/holdout_hud_wave_panel.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ void Holdout_Hud_Wave_Panel::OnThink()
7979
m_pCountdownTimeLabel->SetVisible( true );
8080
m_pCountdownLabel->SetVisible( true );
8181

82-
wchar_t wzValue[15];
8382
V_snwprintf( wzValue, ARRAYSIZE( wzValue ), L"%d", (int) flTimeLeft );
8483

8584
m_pCountdownTimeLabel->SetText( wzValue );
@@ -93,4 +92,4 @@ void Holdout_Hud_Wave_Panel::ApplySchemeSettings( vgui::IScheme *pScheme )
9392
BaseClass::ApplySchemeSettings( pScheme );
9493

9594
LoadControlSettings( "resource/UI/HoldoutHudWavePanel.res" );
96-
}
95+
}

0 commit comments

Comments
 (0)