]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_hook.qc
Add Arena to the mutator system, making use of round_handler. Also add support for...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_hook.qc
index 8867d0725b0f7c3a6cea40d022c5e133a01291dc..0897c1c3a34f5a13426f161cee4ad132708c874d 100644 (file)
@@ -299,14 +299,10 @@ void FireGrapplingHook (void)
        float s;
        vector vs;
 
-       if((arena_roundbased && time < warmup) || (time < game_starttime))
-               return;
-
-  if(self.freezetag_frozen)
-               return;
-       
-       if(self.vehicle)
-               return;
+       if(time < game_starttime) return;
+       if(self.player_blocked) return;
+       if(self.freezetag_frozen) return;
+       if(self.vehicle) return;
 
        makevectors(self.v_angle);