]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/stats.qh
Get all the bits from STAT_ARMOR otherwise negative values are read as very high...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / stats.qh
index c5e45e866a9a00df69697a5efe3f58ee86b80151..a63148f505479fe4b40703c20f38926568167fa9 100644 (file)
@@ -22,7 +22,7 @@ const int MAX_CL_STATS = 256;
 
 #if defined(CSQC)
     #define g_stat_HEALTH getstati(STAT_HEALTH)
-    #define g_stat_ARMOR getstat_int(STAT_ARMOR)
+    #define g_stat_ARMOR getstati(STAT_ARMOR)
     #define g_stat_SHELLS getstat_int(STAT_SHELLS)
     #define g_stat_NAILS getstat_int(STAT_NAILS)
     #define g_stat_ROCKETS getstat_int(STAT_ROCKETS)