]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/cts/cl_cts.qc
Merge branch 'drjaska/balance/mortar' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / cts / cl_cts.qc
index 27d6b868ef0d69c292881c1d6ba9d681ea22243a..ce095bf2032a0e1a63fccaaac1fc0c3840d91148 100644 (file)
@@ -1,5 +1,7 @@
 #include "cl_cts.qh"
 
+#include <common/mutators/base.qh>
+
 REGISTER_MUTATOR(cl_cts, true);
 
 MUTATOR_HOOKFUNCTION(cl_cts, HUD_Physics_showoptional)
@@ -7,11 +9,21 @@ MUTATOR_HOOKFUNCTION(cl_cts, HUD_Physics_showoptional)
        return ISGAMETYPE(CTS); // show the optional physics panel
 }
 
+MUTATOR_HOOKFUNCTION(cl_cts, HUD_StrafeHUD_showoptional)
+{
+       return ISGAMETYPE(CTS); // show the optional strafehud
+}
+
 MUTATOR_HOOKFUNCTION(cl_cts, HUD_Score_show)
 {
        return spectatee_status == -1 && ISGAMETYPE(CTS); // hide the score panel while observing
 }
 
+MUTATOR_HOOKFUNCTION(cl_cts, DrawScoreboardItemStats)
+{
+       return ISGAMETYPE(CTS); // hide the item stats panel
+}
+
 MUTATOR_HOOKFUNCTION(cl_cts, DrawDeathScoreboard)
 {
        return ISGAMETYPE(CTS); // no scoreboard shown while dead