X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fthrowing.qh;h=488791295b59bf8ed52df983ed949c6164abb2a6;hp=c09a8f88296c4da90d6743e686d960513f5692be;hb=37cf62041a76248472ef6a78feaaed33e35a2260;hpb=7f6f6ddf5a60125f13cbc906c5e29faf61310d80 diff --git a/qcsrc/server/weapons/throwing.qh b/qcsrc/server/weapons/throwing.qh index c09a8f882..488791295 100644 --- a/qcsrc/server/weapons/throwing.qh +++ b/qcsrc/server/weapons/throwing.qh @@ -1,3 +1,5 @@ +#pragma once + .float savenextthink; void thrown_wep_think(); @@ -9,4 +11,4 @@ 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);