]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/stats.qh
Purge self from bot roles
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / stats.qh
index fc82c13208e7b053baf27b1c661af64b57ae2101..a3cb49ed2c71d3b513276ab7e6e64a34941fcaf6 100644 (file)
@@ -2,7 +2,7 @@
 #define STATS_H
 
 #ifdef SVQC
-#include "../server/cl_client.qh"
+#include <server/cl_client.qh>
 #endif
 
 // Full list of all stat constants, included in a single location for easy reference
@@ -62,7 +62,7 @@ REGISTER_STAT(SWITCHWEAPON, int)
 REGISTER_STAT(SWITCHINGWEAPON, int)
 REGISTER_STAT(WEAPON_NEXTTHINK, float)
 #ifdef SVQC
-SPECTATE_COPY(_STAT(WEAPON_NEXTTHINK))
+SPECTATE_COPYFIELD(_STAT(WEAPON_NEXTTHINK))
 float W_WeaponRateFactor();
 #endif
 REGISTER_STAT(WEAPONRATEFACTOR, float, W_WeaponRateFactor())
@@ -247,7 +247,7 @@ REGISTER_STAT(TELEPORT_TELEFRAG_AVOID, int, autocvar_g_telefrags_avoid)
 REGISTER_STAT(SPECTATORSPEED, float)
 
 #ifdef SVQC
-#include "movetypes/movetypes.qh"
+#include "physics/movetypes/movetypes.qh"
 #endif
 
 REGISTER_STAT(MOVEVARS_AIRACCEL_QW_STRETCHFACTOR, float)
@@ -303,7 +303,7 @@ REPLICATE(cvar_cl_gunalign, int, "cl_gunalign");
 #endif
 REGISTER_STAT(GUNALIGN, int, this.cvar_cl_gunalign)
 #ifdef SVQC
-SPECTATE_COPY(_STAT(GUNALIGN))
+SPECTATE_COPYFIELD(_STAT(GUNALIGN))
 #endif