X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fthrowing.qh;h=9ea5e5cb8e442c930f628f47f1e93ff29ef150de;hb=4afba1cb5f5e1526d4f8c26dae616b6bc32e9461;hp=01ab21ba63323427fd8783bf8895fbee3a16fbbd;hpb=bd84ca6fa3aa22e2100db210e7a4d7de8442d71f;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);