diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-15 08:27:58 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:21:02 +0200 |
commit | 8f6cc0930258d39570676d349db062b0c54ba1ad (patch) | |
tree | c5fa9e0bf41b1eb7b28978868891a4f68a2c269f /src/game/bg_misc.c | |
parent | ebd43d72d1af22fcde4b9857fb226cefab9fcdbf (diff) |
multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs
Diffstat (limited to 'src/game/bg_misc.c')
-rw-r--r-- | src/game/bg_misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c index 2641305..2b4fa29 100644 --- a/src/game/bg_misc.c +++ b/src/game/bg_misc.c @@ -4828,8 +4828,8 @@ void BG_PlayerStateToEntityState( playerState_t *ps, entityState_t *s, qboolean } } - //TA: use powerups field to store team/class info: - s->powerups = ps->stats[ STAT_PTEAM ] | ( ps->stats[ STAT_PCLASS ] << 8 ); + // use misc field to store team/class info: + s->misc = ps->stats[ STAT_PTEAM ] | ( ps->stats[ STAT_PCLASS ] << 8 ); //TA: have to get the surfNormal thru somehow... VectorCopy( ps->grapplePoint, s->angles2 ); @@ -4940,8 +4940,8 @@ void BG_PlayerStateToEntityStateExtraPolate( playerState_t *ps, entityState_t *s } } - //TA: use powerups field to store team/class info: - s->powerups = ps->stats[ STAT_PTEAM ] | ( ps->stats[ STAT_PCLASS ] << 8 ); + // use misc field to store team/class info: + s->misc = ps->stats[ STAT_PTEAM ] | ( ps->stats[ STAT_PCLASS ] << 8 ); //TA: have to get the surfNormal thru somehow... VectorCopy( ps->grapplePoint, s->angles2 ); |