tyabus / cs16-client

Counter-Strike 1.6 rewritten client.dll. Without VGUI, ParticleMan and ecology friendy.
Other
1 stars 2 forks source link

Spectator_GUI team score display #3

Open Gerwin2k opened 1 year ago

Gerwin2k commented 1 year ago

There is a bug in spectator_GUI.cpp relating to the team score display:

for( int i = 0; i < gHUD.m_Scoreboard.m_iNumTeams; i++ )

should be

for( int i = 1; i <= gHUD.m_Scoreboard.m_iNumTeams; i++ )

Because the the TEAM_defines are either 1 or 2.