]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/w_grabber.qc
Crosshair style based on weapon and firing type
[voretournament/voretournament.git] / data / qcsrc / server / w_grabber.qc
index 26f379486a1dee5cb29b73dc93f4e2c654ff15aa..4de8425b4c7446db31e52610e1c7a6fed9e2629b 100644 (file)
@@ -82,9 +82,9 @@ float w_grabber(float req)
                W_SetupShot (self, TRUE, 0, "", 0); // do this to update w_shotorg\r
                WarpZone_traceline_antilag(self, w_shotorg, w_shotorg + w_shotdir * cvar("g_balance_grabber_secondary_radius"), FALSE, self, ANTILAG_LATENCY(self));\r
                if(trace_fraction < 1)\r
-                       dprint("!!!!!!!!!!!!!!!!!!!!!!!\n");\r
+                       self.stat_crosshair_style = 1;\r
                else\r
-                       dprint("#######################\n");\r
+                       self.stat_crosshair_style = 0;\r
 \r
                grabbered_fuel = cvar("g_balance_grabber_primary_grabbered_fuel");\r
                // forced reload\r