]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/weaponsystem.qh
Offhand: fix machinegun (still needs .clip_load > 0)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / weaponsystem.qh
index 41b382d971aa6794e30eac00124eee646e7ae446..6bb2d656e3f4aa54d854b692c875b669a9d92ec7 100644 (file)
@@ -22,7 +22,7 @@ float forbidWeaponUse(entity player);
 
 void W_AttachToShotorg(entity flash, vector offset);
 
-void W_DecreaseAmmo(float ammo_use);
+void W_DecreaseAmmo(Weapon wep, float ammo_use);
 
 void W_DropEvent(float event, entity player, float weapon_type, entity weapon_item);
 
@@ -40,6 +40,6 @@ float weapon_prepareattack_check(float secondary, float attacktime);
 
 float weapon_prepareattack_do(float secondary, float attacktime);
 
-void weapon_thinkf(float fr, float t, void() func);
+void weapon_thinkf(float fr, float t, void(Weapon thiswep, bool fire1, bool fire2) func);
 
 #endif