]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/throwing.qh
Clean up self uses in weapon dropping code, also switch EXACTTRIGGER_INIT over to...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / throwing.qh
index 488791295b59bf8ed52df983ed949c6164abb2a6..b0482da9193bd34cb84b18e1d8a65dff74ef7db6 100644 (file)
@@ -6,9 +6,9 @@ void thrown_wep_think();
 // returns amount of ammo used as string, or -1 for failure, or 0 for no ammo count
 string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vector velo);
 
-float W_IsWeaponThrowable(float w);
+bool W_IsWeaponThrowable(entity this, int w);
 
 // toss current weapon
-void W_ThrowWeapon(vector velo, vector delta, float doreduce);
+void W_ThrowWeapon(entity this, vector velo, vector delta, float doreduce);
 
 void SpawnThrownWeapon(entity this, vector org, float w);