mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
use HAVE_* macros for dependencies
This commit is contained in:
@@ -310,12 +310,18 @@ void CFPSPanel::Paint()
|
||||
vel = player->GetLocalVelocity();
|
||||
}
|
||||
|
||||
g_pMatSystemSurface->DrawColoredText( m_hFont, x, 2 + i * ( vgui::surface()->GetFontTall( m_hFont ) + 2 ),
|
||||
if( nShowPosMode > 1 )
|
||||
g_pMatSystemSurface->DrawColoredText( m_hFont, x, 2 + i * ( vgui::surface()->GetFontTall( m_hFont ) + 2 ),
|
||||
255, 255, 255, 255,
|
||||
"vel: %.2f %.2f %.2f",
|
||||
vel.x, vel.y, vel.z );
|
||||
else
|
||||
g_pMatSystemSurface->DrawColoredText( m_hFont, x, 2 + i * ( vgui::surface()->GetFontTall( m_hFont ) + 2 ),
|
||||
255, 255, 255, 255,
|
||||
"vel: %.2f",
|
||||
vel.Length() );
|
||||
}
|
||||
|
||||
|
||||
if ( cl_showbattery.GetInt() > 0 )
|
||||
{
|
||||
if ( steamapicontext && steamapicontext->SteamUtils() &&
|
||||
|
||||
Reference in New Issue
Block a user