summaryrefslogtreecommitdiff
path: root/src/cgame/cg_predict.c
diff options
context:
space:
mode:
authorPaweł Redman <trem.redman@gmail.com>2013-09-07 20:16:57 +0200
committerPaweł Redman <trem.redman@gmail.com>2013-09-07 20:16:57 +0200
commit5b6289ef53d06d005e94b20b3d45f7726588de99 (patch)
tree9a61fc125eff3ace17465b8115474482d5514590 /src/cgame/cg_predict.c
parented92617e5b10f80ff5b7263ec15033ecc241b99e (diff)
0.1.1 and asset cleanup
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 );