From: TimePath Date: Sat, 12 Dec 2015 00:35:41 +0000 (+1100) Subject: Potentially fix #1605 X-Git-Tag: xonotic-v0.8.2~1505 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=abb85233ed9c293628107ec9e7212bba8d3bd94a;p=xonotic%2Fxonotic-data.pk3dir.git Potentially fix #1605 --- diff --git a/qcsrc/common/stats.qh b/qcsrc/common/stats.qh index 18f22187c..e8320bda4 100644 --- a/qcsrc/common/stats.qh +++ b/qcsrc/common/stats.qh @@ -29,7 +29,7 @@ const int MAX_CL_STATS = 256; #define g_stat_CELLS getstat_int(STAT_CELLS) #define g_stat_ACTIVEWEAPON getstat_int(STAT_ACTIVEWEAPON) #define g_stat_ITEMS getstat_int(STAT_ITEMS) - #define g_stat_VIEWHEIGHT getstat_int(STAT_VIEWHEIGHT) + #define g_stat_VIEWHEIGHT getstati(STAT_VIEWHEIGHT) #elif defined(SVQC) #define stat_HEALTH health #define stat_ARMOR armorvalue