1
0
Fork 0
forked from fte/fteqw

sbar compiles again

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3277 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-07-14 15:58:07 +00:00
parent 887f204330
commit a79b7f90cf

View file

@ -1724,6 +1724,7 @@ void Sbar_DrawScoreboard (void)
if (deadcount == cl.splitclients && !cl.spectator) if (deadcount == cl.splitclients && !cl.spectator)
{ {
#ifndef CLIENTONLY
if (sv.state && cls.gamemode == GAME_COOP) if (sv.state && cls.gamemode == GAME_COOP)
{ {
for (pnum = 0; pnum < sv.allocated_client_slots; pnum++) for (pnum = 0; pnum < sv.allocated_client_slots; pnum++)
@ -1735,6 +1736,7 @@ void Sbar_DrawScoreboard (void)
if (pnum == sv.allocated_client_slots) if (pnum == sv.allocated_client_slots)
return; return;
} }
#endif
if (cl.teamplay > 0 && !sb_showscores) if (cl.teamplay > 0 && !sb_showscores)
Sbar_TeamOverlay(); Sbar_TeamOverlay();
else else