#include "cl_race.qh"
+#include <client/draw.qh>
+#include <common/mutators/base.qh>
+
// Race/CTS HUD mod icons
float crecordtime_prev; // last remembered crecordtime
float crecordtime_change_time; // time when crecordtime last changed
return ISGAMETYPE(RACE); // show the optional physics panel
}
+MUTATOR_HOOKFUNCTION(cl_race, HUD_StrafeHUD_showoptional)
+{
+ return ISGAMETYPE(RACE); // show the optional strafehud
+}
+
MUTATOR_HOOKFUNCTION(cl_race, HUD_Score_show)
{
return spectatee_status == -1 && ISGAMETYPE(RACE); // hide the score panel while observing
}
+MUTATOR_HOOKFUNCTION(cl_race, DrawScoreboardItemStats)
+{
+ return ISGAMETYPE(RACE); // hide the item stats panel
+}
+
MUTATOR_HOOKFUNCTION(cl_race, ShowRankings)
{
if(ISGAMETYPE(RACE))