Skip to content

Commit

Permalink
cl_show_server_triggers should be always 0 by default
Browse files Browse the repository at this point in the history
To not cost performance due of iterating through entities in cases when triggers are definitely not transmitted by plugin/server
  • Loading branch information
SmileyAG committed Dec 30, 2023
1 parent e900160 commit 16b37db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl_dll/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void CHud :: Init( void )
m_pCvarHideOtherPlayers = CVAR_CREATE("cl_hide_other_players", "0", 0);
m_pCvarColor = CVAR_CREATE( "hud_color", "", FCVAR_ARCHIVE );
m_pCvarPlayTeamSoundsVolume = CVAR_CREATE("cl_team_sounds_volume", "1.0", FCVAR_ARCHIVE);
m_pShowServerTriggers = CVAR_CREATE("cl_show_server_triggers", "1", FCVAR_ARCHIVE);
m_pShowServerTriggers = CVAR_CREATE("cl_show_server_triggers", "0", FCVAR_ARCHIVE);
m_pShowServerTriggersAlpha = CVAR_CREATE("cl_show_server_triggers_alpha", "120", FCVAR_ARCHIVE);
cl_lw = gEngfuncs.pfnGetCvarPointer( "cl_lw" );
CVAR_CREATE("showtriggers", "0", 0);
Expand Down

0 comments on commit 16b37db

Please sign in to comment.