]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert "Make sure hooks can't attach to projectiles (besides nades)"
authorMario <mario@smbclan.net>
Tue, 26 Jun 2018 11:18:27 +0000 (21:18 +1000)
committerMario <mario@smbclan.net>
Tue, 26 Jun 2018 11:18:27 +0000 (21:18 +1000)
This reverts commit d83cc15cc3ed27a9197411147543feca6d54185b.

qcsrc/server/g_hook.qc

index d482f092d8db8df81741f08e5b8a770bbc0ce32f..68aa7154ecdc3928261ea584bd251be2c86d2c03 100644 (file)
@@ -328,7 +328,6 @@ void GrapplingHookTouch(entity this, entity toucher)
 
        if(toucher)
                //if(toucher.move_movetype != MOVETYPE_NONE)
-               if(!(toucher.flags & FL_PROJECTILE) || toucher.classname == "nade")
                {
                        SetMovetypeFollow(this, toucher);
                        WarpZone_RefSys_BeginAddingIncrementally(this, this.aiment);