From b92648026f55312af796ff373a3d4f23020d7476 Mon Sep 17 00:00:00 2001
From: SanyaSho <gamep8118@gmail.com>
Date: Wed, 10 Aug 2022 22:14:32 +0300
Subject: [PATCH] game: more tf2base in includes!

---
 game/client/hud_controlpointicons.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/game/client/hud_controlpointicons.cpp b/game/client/hud_controlpointicons.cpp
index cc446c83..e5e85f25 100644
--- a/game/client/hud_controlpointicons.cpp
+++ b/game/client/hud_controlpointicons.cpp
@@ -189,7 +189,11 @@ void CControlPointIcon::ApplySchemeSettings( IScheme *pScheme )
 
 	if ( !m_pCPTimerLabel )
 	{
+#if defined( TF_MOD_CLIENT )
+		m_pCPTimerLabel = new CTFLabel( this, "CPTimerLabel", L"" );
+#else
 		m_pCPTimerLabel = new CExLabel( this, "CPTimerLabel", L"" );
+#endif
 		m_pCPTimerLabel->SetZPos( 0 );
 	}
 
@@ -1794,7 +1798,11 @@ void CControlPointCountdown::ApplySchemeSettings( IScheme *pScheme )
 //-----------------------------------------------------------------------------
 void CControlPointCountdown::PerformLayout()
 {
+#if defined( TF_MOD_CLIENT )
+	CTFLabel *pLabel = dynamic_cast<CTFLabel *>( FindChildByName( "CapCountdownLabel" ) );
+#else
 	CExLabel *pLabel = dynamic_cast<CExLabel *>( FindChildByName( "CapCountdownLabel" ) );
+#endif
 	if ( pLabel )
 	{
 		pLabel->SetBounds( 0, 0, GetWide(), GetTall() );