]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/throwing.qh
Use PHYS_INPUT_BUTTON_*
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / throwing.qh
index c09a8f88296c4da90d6743e686d960513f5692be..1bf50c14a400e0bd7e16ca9ac203471de1970e54 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef THROWING_H
+#define THROWING_H
+
 .float savenextthink;
 void thrown_wep_think();
 
@@ -9,4 +12,5 @@ float W_IsWeaponThrowable(float w);
 // toss current weapon
 void W_ThrowWeapon(vector velo, vector delta, float doreduce);
 
-void SpawnThrownWeapon(vector org, float w);
+void SpawnThrownWeapon(entity this, vector org, float w);
+#endif