Skip to content

Commit 14f1852

Browse files
committed
Fix crash caused by target id panels
I've honestly got no idea what the root cause is, but this fixes it
1 parent 962c7d8 commit 14f1852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/game/client/tf/tf_hud_target_id.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ CTargetID::CTargetID( const char *pElementName ) :
113113
m_hFont = g_hFontTrebuchet24;
114114
m_flLastChangeTime = 0;
115115
m_iLastEntIndex = 0;
116+
m_iTargetEntIndex = 0;
116117
m_nOriginalY = 0;
117118
m_bArenaPanelVisible = false;
118119

0 commit comments

Comments
 (0)