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=4994d02aed20a467aed1c6e5500648493d5f7c73;hb=37cf62041a76248472ef6a78feaaed33e35a2260;hpb=1ba59bdc6b1e1ad0368f34dbd297e40cc42be243 diff --git a/qcsrc/server/weapons/throwing.qh b/qcsrc/server/weapons/throwing.qh index 4994d02ae..488791295 100644 --- a/qcsrc/server/weapons/throwing.qh +++ b/qcsrc/server/weapons/throwing.qh @@ -1,5 +1,4 @@ -#ifndef THROWING_H -#define THROWING_H +#pragma once .float savenextthink; void thrown_wep_think(); @@ -12,5 +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); -#endif +void SpawnThrownWeapon(entity this, vector org, float w);