]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Get all the bits from STAT_ARMOR otherwise negative values are read as very high...
authorterencehill <piuntn@gmail.com>
Sun, 12 Apr 2020 15:44:25 +0000 (17:44 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 12 Apr 2020 15:44:25 +0000 (17:44 +0200)
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)