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/g_misc.c | |
parent | ebd43d72d1af22fcde4b9857fb226cefab9fcdbf (diff) |
multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs
Diffstat (limited to 'src/game/g_misc.c')
-rw-r--r-- | src/game/g_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_misc.c b/src/game/g_misc.c index b0d6077..a68eeb8 100644 --- a/src/game/g_misc.c +++ b/src/game/g_misc.c @@ -163,10 +163,10 @@ void locateCamera( gentity_t *ent ) if( owner->spawnflags & 4 ) { // set to 0 for no rotation at all - ent->s.powerups = 0; + ent->s.misc = 0; } else - ent->s.powerups = 1; + ent->s.misc = 1; // clientNum holds the rotate offset ent->s.clientNum = owner->s.clientNum; @@ -327,7 +327,7 @@ Spawn function for anim model */ void SP_misc_anim_model( gentity_t *self ) { - self->s.powerups = (int)self->animation[ 0 ]; + self->s.misc = (int)self->animation[ 0 ]; self->s.weapon = (int)self->animation[ 1 ]; self->s.torsoAnim = (int)self->animation[ 2 ]; self->s.legsAnim = (int)self->animation[ 3 ]; |