]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
Attempt to make hook depend on weaponentity instead of the player
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index d38eedaf3412010935be0cdbb5a09528ed28d081..2914ca2deee09cb6430f8222f51344afa9b4e2db 100644 (file)
@@ -1076,7 +1076,7 @@ bool WarpZone_Projectile_Touch_ImpactFilter_Callback(entity this, entity toucher
                if(this.classname == "nade")
                        return false; // no checks here
                else if(this.classname == "grapplinghook")
-                       RemoveGrapplingHook(this.realowner);
+                       RemoveHook(this);
                else if(this.classname == "spike")
                {
                        W_Crylink_Dequeue(this);