X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fcommon.qh;h=363941b3a71210d24917f897f37c92c52f254d5b;hb=b945d959784e5b249c66aea4f3326d8ae048f1cd;hp=341f4ff354b44816b7079be2007da282c01fb441;hpb=244e5081c5c503c307e557c98ac864f6c9731475;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/weapons/common.qh b/qcsrc/server/weapons/common.qh index 341f4ff35..363941b3a 100644 --- a/qcsrc/server/weapons/common.qh +++ b/qcsrc/server/weapons/common.qh @@ -1,10 +1,8 @@ -#ifndef WEAPONS_COMMON_H -#define WEAPONS_COMMON_H +#pragma once void W_GiveWeapon (entity e, float wep); .float prevstrengthsound; .float prevstrengthsoundattempt; void W_PlayStrengthSound(entity player); -float W_CheckProjectileDamage(entity inflictor, entity projowner, float deathtype, float exception); -void W_PrepareExplosionByDamage(entity attacker, void() explode); -#endif +float W_CheckProjectileDamage(entity inflictor, entity projowner, int deathtype, float exception); +void W_PrepareExplosionByDamage(entity this, entity attacker, void(entity this) explode);