From 8f6cc0930258d39570676d349db062b0c54ba1ad Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 15 Apr 2017 08:27:58 +0200 Subject: multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs --- src/qcommon/q_shared.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/qcommon/q_shared.h') diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h index 3d6a498..2cc511e 100644 --- a/src/qcommon/q_shared.h +++ b/src/qcommon/q_shared.h @@ -1023,7 +1023,7 @@ typedef struct { // bit field limits #define MAX_STATS 16 #define MAX_PERSISTANT 16 -#define MAX_POWERUPS 16 +#define MAX_MISC 16 #define MAX_WEAPONS 16 #define MAX_PS_EVENTS 2 @@ -1099,7 +1099,7 @@ typedef struct playerState_s { int stats[MAX_STATS]; int persistant[MAX_PERSISTANT]; // stats that aren't cleared on death - int powerups[MAX_POWERUPS]; // level.time that the powerup runs out + int misc[MAX_MISC]; // misc data int ammo; // ammo held int clips; // clips held @@ -1219,7 +1219,7 @@ typedef struct entityState_s { int eventParm; // for players - int powerups; // bit flags + int misc; // bit flags int weapon; // determines weapon and flash model, etc int legsAnim; // mask off ANIM_TOGGLEBIT int torsoAnim; // mask off ANIM_TOGGLEBIT @@ -1291,9 +1291,9 @@ typedef struct qtime_s { // server browser sources // TTimo: AS_MPLAYER is no longer used -#define AS_GLOBAL 2 +#define AS_GLOBAL 0 #define AS_MPLAYER 1 -#define AS_LOCAL 0 +#define AS_LOCAL 2 #define AS_FAVORITES 3 -- cgit