X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fthrowing.qh;h=488791295b59bf8ed52df983ed949c6164abb2a6;hb=37cf62041a76248472ef6a78feaaed33e35a2260;hp=4994d02aed20a467aed1c6e5500648493d5f7c73;hpb=15a18e8ca7c55ac8187b9ea266d15c2d6e0cb869;p=xonotic%2Fxonotic-data.pk3dir.git 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);