From 1baa6e8809e0c41ea11faa7980cafbdb029ffb89 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 12 Apr 2020 17:44:25 +0200 Subject: [PATCH] Get all the bits from STAT_ARMOR otherwise negative values are read as very high values --- qcsrc/common/stats.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2