summaryrefslogtreecommitdiff
path: root/src/cgame/cg_predict.c
diff options
context:
space:
mode:
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 6005475..f0fbbd5 100644
--- a/src/cgame/cg_predict.c
+++ b/src/cgame/cg_predict.c
@@ -127,7 +127,7 @@ static void CG_ClipMoveToEntities ( const vec3_t start, const vec3_t mins,
VectorCopy( cent->lerpAngles, angles );
BG_EvaluateTrajectory( &cent->currentState.pos, cg.physicsTime, origin );
}
- else if( BG_IsCuboid( ent->modelindex ) )
+ else if( ent->eType == ET_BUILDABLE && BG_IsCuboid( ent->modelindex ) )
{
BG_CuboidBBox( ent->angles, bmins, bmaxs );
cmodel = trap_CM_TempBoxModel( bmins, bmaxs );