X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fstats.qh;h=c77ca16be2a432043f0d8808fa1506b25b0d3a7d;hb=ddd92adfb6efbb7017c371b9a1a66a889e5ac5e9;hp=c5e45e866a9a00df69697a5efe3f58ee86b80151;hpb=d464b8e24227e71a33447c76220f5bf169047154;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/stats.qh b/qcsrc/common/stats.qh index c5e45e866..c77ca16be 100644 --- a/qcsrc/common/stats.qh +++ b/qcsrc/common/stats.qh @@ -16,18 +16,16 @@ const int MAX_CL_STATS = 256; // const int STAT_NAILS = 7; // const int STAT_ROCKETS = 8; // const int STAT_CELLS = 9; -// const int STAT_ACTIVEWEAPON = 10; // const int STAT_ITEMS = 15; // .items | .items2 << 23 | serverflags << 28 // const int STAT_VIEWHEIGHT = 16; #if defined(CSQC) #define g_stat_HEALTH getstati(STAT_HEALTH) - #define g_stat_ARMOR getstat_int(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) - #define g_stat_CELLS getstat_int(STAT_CELLS) - #define g_stat_ACTIVEWEAPON getstat_int(STAT_ACTIVEWEAPON) + #define g_stat_ARMOR getstati(STAT_ARMOR) + #define g_stat_SHELLS getstati(STAT_SHELLS) + #define g_stat_NAILS getstati(STAT_NAILS) + #define g_stat_ROCKETS getstati(STAT_ROCKETS) + #define g_stat_CELLS getstati(STAT_CELLS) #define g_stat_ITEMS getstat_int(STAT_ITEMS) #define g_stat_VIEWHEIGHT getstati(STAT_VIEWHEIGHT) #elif defined(SVQC) @@ -37,7 +35,6 @@ const int MAX_CL_STATS = 256; #define stat_NAILS ammo_nails #define stat_ROCKETS ammo_rockets #define stat_CELLS ammo_cells - #define stat_ACTIVEWEAPON weapon #define stat_ITEMS items #define stat_VIEWHEIGHT view_ofs_z #endif