]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/weaponstats.qh
Merge branch 'master' into martin-t/mg-solidpen
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / weaponstats.qh
index 0018f190669d533d2397973adc80d66a7e3bc11f..f031223e78304f3e5540c4855b18e638e981e3e6 100644 (file)
@@ -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