projects
/
xonotic
/
xonotic-data.pk3dir.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a mutator hook to allow forcing team radar icons to display regardless of their...
[xonotic/xonotic-data.pk3dir.git]
/
qcsrc
/
common
/
gamemodes
/
gamemode
/
race
/
cl_race.qc
diff --git
a/qcsrc/common/gamemodes/gamemode/race/cl_race.qc
b/qcsrc/common/gamemodes/gamemode/race/cl_race.qc
index
01a6e83
..
c2346a4
100644
(file)
--- a/
qcsrc/common/gamemodes/gamemode/race/cl_race.qc
+++ b/
qcsrc/common/gamemodes/gamemode/race/cl_race.qc
@@
-176,3
+176,8
@@
MUTATOR_HOOKFUNCTION(cl_race, ShowRaceTimer)
{
return ISGAMETYPE(RACE); // show the race timer panel
}
+
+MUTATOR_HOOKFUNCTION(cl_race, TeamRadar_Draw)
+{
+ return ISGAMETYPE(RACE); // show all competitors in a race
+}