X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fthrowing.qh;h=9ea5e5cb8e442c930f628f47f1e93ff29ef150de;hb=1b0decb9afb829407eae763b3053a122e2ae3de6;hp=01ab21ba63323427fd8783bf8895fbee3a16fbbd;hpb=d365412f17cdfe9f8cc49fbeb54f9a636352fab5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/weapons/throwing.qh b/qcsrc/server/weapons/throwing.qh index 01ab21ba6..9ea5e5cb8 100644 --- a/qcsrc/server/weapons/throwing.qh +++ b/qcsrc/server/weapons/throwing.qh @@ -1,5 +1,8 @@ #pragma once +#include +#include + .float savenextthink; void thrown_wep_think(entity this); @@ -11,4 +14,4 @@ bool W_IsWeaponThrowable(entity this, int w); // toss current weapon void W_ThrowWeapon(entity this, .entity weaponentity, vector velo, vector delta, float doreduce); -void SpawnThrownWeapon(entity this, vector org, float w, .entity weaponentity); +void SpawnThrownWeapon(entity this, vector org, Weapon wep, .entity weaponentity);