mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-08 00:12:00 +00:00
Don't show the deathmatch scoreboard in single player.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3272 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
294e82f158
commit
8c66660fe0
1 changed files with 11 additions and 0 deletions
|
@ -1724,6 +1724,17 @@ void Sbar_DrawScoreboard (void)
|
||||||
|
|
||||||
if (deadcount == cl.splitclients && !cl.spectator)
|
if (deadcount == cl.splitclients && !cl.spectator)
|
||||||
{
|
{
|
||||||
|
if (sv.state && cls.gamemode == GAME_COOP)
|
||||||
|
{
|
||||||
|
for (pnum = 0; pnum < sv.allocated_client_slots; pnum++)
|
||||||
|
{
|
||||||
|
if (svs.clients[pnum].state)
|
||||||
|
if (svs.clients[pnum].netchan.remote_address.type != NA_LOOPBACK)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (pnum == sv.allocated_client_slots)
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (cl.teamplay > 0 && !sb_showscores)
|
if (cl.teamplay > 0 && !sb_showscores)
|
||||||
Sbar_TeamOverlay();
|
Sbar_TeamOverlay();
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue