summaryrefslogtreecommitdiff
path: root/src/cgame/cg_predict.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/cgame/cg_predict.c
parentebd43d72d1af22fcde4b9857fb226cefab9fcdbf (diff)
multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs
Diffstat (limited to 'src/cgame/cg_predict.c')
-rw-r--r--src/cgame/cg_predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_predict.c b/src/cgame/cg_predict.c
index e20eb1d..59419b5 100644
--- a/src/cgame/cg_predict.c
+++ b/src/cgame/cg_predict.c
@@ -138,7 +138,7 @@ static void CG_ClipMoveToEntities ( const vec3_t start, const vec3_t mins,
bmaxs[ 2 ] = zu;
if( i == cg_numSolidEntities )
- BG_FindBBoxForClass( ( ent->powerups >> 8 ) & 0xFF, bmins, bmaxs, NULL, NULL, NULL );
+ BG_FindBBoxForClass( ( ent->misc >> 8 ) & 0xFF, bmins, bmaxs, NULL, NULL, NULL );
cmodel = trap_CM_TempBoxModel( bmins, bmaxs );
VectorCopy( vec3_origin, angles );