1
0
Fork 0
forked from fte/fteqw

Allow csqc to control the scoreboard.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1485 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-10-16 03:57:01 +00:00
parent 7335308b81
commit 06b9226d8e

View file

@ -653,6 +653,11 @@ void Sbar_ShowTeamScores (void)
if (sb_showteamscores)
return;
#ifdef CSQC_DAT
if (CSQC_ConsoleCommand(Cmd_Argv(0)))
return;
#endif
sb_showteamscores = true;
sb_updates = 0;
}
@ -668,6 +673,11 @@ void Sbar_DontShowTeamScores (void)
{
sb_showteamscores = false;
sb_updates = 0;
#ifdef CSQC_DAT
if (CSQC_ConsoleCommand(Cmd_Argv(0)))
return;
#endif
}
/*
@ -682,6 +692,11 @@ void Sbar_ShowScores (void)
if (sb_showscores)
return;
#ifdef CSQC_DAT
if (CSQC_ConsoleCommand(Cmd_Argv(0)))
return;
#endif
sb_showscores = true;
sb_updates = 0;
}
@ -697,6 +712,11 @@ void Sbar_DontShowScores (void)
{
sb_showscores = false;
sb_updates = 0;
#ifdef CSQC_DAT
if (CSQC_ConsoleCommand(Cmd_Argv(0)))
return;
#endif
}
/*