Fix scr_scoreboard_showflags 1

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5542 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-09-15 15:09:36 +00:00
parent 22b494f171
commit ea9936a340

View file

@ -106,6 +106,8 @@ int Stats_GetCaptures(int playernum)
qboolean Stats_HaveFlags(int showtype) qboolean Stats_HaveFlags(int showtype)
{ {
int i; int i;
if (showtype)
return fragstats.readcaps;
for (i = 0; i < cl.allocated_client_slots; i++) for (i = 0; i < cl.allocated_client_slots; i++)
{ {
if (fragstats.clienttotals[i].caps || if (fragstats.clienttotals[i].caps ||