Skip to content

Commit 1d2246f

Browse files
committed
perf: disable vgui screen
causes unnecessary traces within prediction which causes bone setup in spatial updates
1 parent 78cfc83 commit 1d2246f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/game/client/c_vguiscreen.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,8 @@ C_VGuiScreen *CVGuiScreenEnumerator::GetVGuiScreen( int index )
645645
//-----------------------------------------------------------------------------
646646
C_BaseEntity *FindNearbyVguiScreen( const Vector &viewPosition, const QAngle &viewAngle, int nTeam )
647647
{
648-
if ( IsX360() )
648+
// Feature not used (input on VGUI screens)
649+
if ( IsX360() || 1 )
649650
{
650651
// X360TBD: Turn this on if feature actually used
651652
return NULL;

0 commit comments

Comments
 (0)