]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add support for Quake 3's weapon_grapplinghook
authorMario <mario@smbclan.net>
Tue, 27 Jun 2017 05:54:15 +0000 (15:54 +1000)
committerMario <mario@smbclan.net>
Tue, 27 Jun 2017 05:54:15 +0000 (15:54 +1000)
qcsrc/server/compat/quake3.qc

index 8815aceac1c95f88cb87bb697257beef0afd9a1c..905523bfba33696632d096af7bbfb96efe4ba0d2 100644 (file)
@@ -5,6 +5,7 @@
 spawnfunc(weapon_crylink);
 spawnfunc(weapon_electro);
 spawnfunc(weapon_hagar);
+spawnfunc(weapon_hook);
 spawnfunc(weapon_machinegun);
 spawnfunc(weapon_vortex);
 spawnfunc(weapon_minelayer);
@@ -60,6 +61,9 @@ spawnfunc(ammo_slugs)          { spawnfunc_item_cells(this);          }
 spawnfunc(weapon_bfg)          { spawnfunc_weapon_crylink(this);      }
 spawnfunc(ammo_bfg)            { spawnfunc_item_cells(this);          }
 
+// grappling hook -> hook
+spawnfunc(weapon_grapplinghook) { spawnfunc_weapon_hook(this);        }
+
 // RL -> RL
 spawnfunc(ammo_rockets)        { spawnfunc_item_rockets(this);        }