From 5b6289ef53d06d005e94b20b3d45f7726588de99 Mon Sep 17 00:00:00 2001 From: PaweÅ‚ Redman Date: Sat, 7 Sep 2013 20:16:57 +0200 Subject: 0.1.1 and asset cleanup --- src/cgame/cg_local.h | 5 +++-- src/cgame/cg_predict.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index 0cc0977..95a6569 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -2168,9 +2168,10 @@ typedef enum // mod version data -#define MODVER_CURRENT 1 +#define MODVER_CURRENT 2 +#define MODVER_C2_0_1_1 2 #define MODVER_C2_0_1_0 1 -#define MODVER_TITLE "0.1.0 (Sep 06)" +#define MODVER_TITLE "0.1.1 (Sep 07)" 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( ¢->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 ); -- cgit