From: terencehill Date: Sun, 12 Apr 2020 15:44:25 +0000 (+0200) Subject: Get all the bits from STAT_ARMOR otherwise negative values are read as very high... X-Git-Tag: xonotic-v0.8.5~1121^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1baa6e8809e0c41ea11faa7980cafbdb029ffb89;p=xonotic%2Fxonotic-data.pk3dir.git Get all the bits from STAT_ARMOR otherwise negative values are read as very high values --- diff --git a/qcsrc/common/stats.qh b/qcsrc/common/stats.qh index c5e45e866..a63148f50 100644 --- a/qcsrc/common/stats.qh +++ b/qcsrc/common/stats.qh @@ -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)