+void W_Grabber_UpdateStats(entity e, float shot, float hit)\r
+{\r
+ // this may not be entierly right, but for the time being we're recording the hook accuracy here\r
+ // this is likely needed for detecting if the hook has hit (linked to) another person though\r
+ if(shot)\r
+ {\r
+ e.stats_fired[e.weapon - 1] += 1;\r
+ e.stat_fired = e.weapon + 64 * floor(e.stats_fired[e.weapon - 1]);\r
+ }\r
+ if(hit)\r
+ {\r
+ e.stats_hit[e.weapon - 1] += 1;\r
+ e.stat_hit = e.weapon + 64 * floor(e.stats_hit[e.weapon - 1]);\r
+ }\r
+}\r
+\r