Many fixes and adaptations to the Accuracy Stats window, and get the Grabber to prope...
[voretournament/voretournament.git] / data / qcsrc / server / g_grabber.qc
index 28b687e..1c3361e 100644 (file)
@@ -266,6 +266,7 @@ void GrabberTouch (void)
                if(other.movetype != MOVETYPE_NONE)\r
                {\r
                        SetMovetypeFollow(self, other);\r
+                       W_Grabber_UpdateStats(self.owner, FALSE, TRUE); // count this as a hit\r
                        WarpZone_RefSys_BeginAddingIncrementally(self, self.aiment);\r
                }\r
 \r
@@ -294,6 +295,8 @@ void FireGrabber (void)
        local entity missile;\r
        local vector org;\r
 \r
+       W_Grabber_UpdateStats(self, TRUE, FALSE);\r
+\r
        if((arena_roundbased && time < warmup) || (time < game_starttime))\r
                return;\r
 \r