Fixed uninitialized variables

This commit is contained in:
smallmodel 2023-07-18 21:19:01 +02:00
parent 7828cddc2a
commit 415a5e60da
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1082,6 +1082,7 @@ void CG_DrawSpectatorView_ver_15()
iClientNum = cg.snap->ps.stats[STAT_INFOCLIENT]; iClientNum = cg.snap->ps.stats[STAT_INFOCLIENT];
sprintf(buf, "%s : %i", cg.clientinfo[iClientNum].name, cg.snap->ps.stats[STAT_INFOCLIENT_HEALTH]); sprintf(buf, "%s : %i", cg.clientinfo[iClientNum].name, cg.snap->ps.stats[STAT_INFOCLIENT_HEALTH]);
hShader = 0;
color[0] = 0.5; color[0] = 0.5;
color[1] = 1.0; color[1] = 1.0;
color[2] = 0.5; color[2] = 0.5;