]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/vehicle/bumblebee.qc
Attempt to make hook depend on weaponentity instead of the player
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle / bumblebee.qc
index 4f74c86369f7b48cd667caf48801923cbb0bcf16..7bc10b4ecd2b31bb0a1bcae4e75c905fa309688d 100644 (file)
@@ -309,7 +309,7 @@ bool bumblebee_gunner_enter(entity this, entity player)
        player.vehicle_energy   = vehic.vehicle_energy;
        UNSET_ONGROUND(player);
 
-       RemoveGrapplingHook(player);
+       RemoveGrapplingHooks(player);
 
        for(int slot = 0; slot < MAX_WEAPONSLOTS; ++slot)
        {