summaryrefslogtreecommitdiff
path: root/src/game/g_mover.c
diff options
context:
space:
mode:
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
commit8f6cc0930258d39570676d349db062b0c54ba1ad (patch)
treec5fa9e0bf41b1eb7b28978868891a4f68a2c269f /src/game/g_mover.c
parentebd43d72d1af22fcde4b9857fb226cefab9fcdbf (diff)
multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs
Diffstat (limited to 'src/game/g_mover.c')
-rw-r--r--src/game/g_mover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_mover.c b/src/game/g_mover.c
index 74b6541..8f006a3 100644
--- a/src/game/g_mover.c
+++ b/src/game/g_mover.c
@@ -1706,7 +1706,7 @@ void SP_func_door_model( gentity_t *ent )
ent->s.apos.trDuration = 0;
VectorClear( ent->s.apos.trDelta );
- ent->s.powerups = (int)ent->animation[ 0 ]; //first frame
+ ent->s.misc = (int)ent->animation[ 0 ]; //first frame
ent->s.weapon = abs( (int)ent->animation[ 1 ] ); //number of frames
//must be at least one frame -- mapper has forgotten animation key