]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/weaponstats.qh
Merge branch 'terencehill/clockedtime_tostring_improvements' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / weaponstats.qh
index 0018f190669d533d2397973adc80d66a7e3bc11f..b67399ee7e0f584d5dcc70c459a0e732fa9b432b 100644 (file)
@@ -1,5 +1,6 @@
-#ifndef WEAPONSTATS_H
-#define WEAPONSTATS_H
+#pragma once
+
+string autocvar_sv_weaponstats_file;
 
 float weaponstats_buffer;
 
@@ -11,4 +12,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