]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Potentially fix #1605
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 12 Dec 2015 00:35:41 +0000 (11:35 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 12 Dec 2015 00:35:41 +0000 (11:35 +1100)
qcsrc/common/stats.qh

index 18f22187c4de6e5b28a62cf036fa31f9146514d9..e8320bda49db2078ed1437b3bfa99a1368d1e388 100644 (file)
@@ -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