summaryrefslogtreecommitdiff
path: root/src/game/g_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_misc.c')
-rw-r--r--src/game/g_misc.c6
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 ];