X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fweaponstats.qh;h=f031223e78304f3e5540c4855b18e638e981e3e6;hb=0f91a71ce7434276a96bcb5fec24bf5702369749;hp=0018f190669d533d2397973adc80d66a7e3bc11f;hpb=6dc9591eba337374f2b4348a6a6deaa1cb6887d0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/weapons/weaponstats.qh b/qcsrc/server/weapons/weaponstats.qh index 0018f1906..f031223e7 100644 --- a/qcsrc/server/weapons/weaponstats.qh +++ b/qcsrc/server/weapons/weaponstats.qh @@ -1,5 +1,4 @@ -#ifndef WEAPONSTATS_H -#define WEAPONSTATS_H +#pragma once float weaponstats_buffer; @@ -11,4 +10,3 @@ void WeaponStats_LogDamage(float awep, float abot, float vwep, float vbot, float void WeaponStats_LogKill(float awep, float abot, float vwep, float vbot); #define WEAPONSTATS_GETINDEX(awep,abot,vwep,vbot) (((vwep) + (awep) * (WEP_LAST - WEP_FIRST + 1) - (WEP_FIRST + WEP_FIRST * (WEP_LAST - WEP_FIRST + 1))) * 4 + (abot) * 2 + (vbot)) -#endif