diff options
author | Paweł Redman <trem.redman@gmail.com> | 2013-09-07 20:16:57 +0200 |
---|---|---|
committer | Paweł Redman <trem.redman@gmail.com> | 2013-09-07 20:16:57 +0200 |
commit | 5b6289ef53d06d005e94b20b3d45f7726588de99 (patch) | |
tree | 9a61fc125eff3ace17465b8115474482d5514590 /src/cgame | |
parent | ed92617e5b10f80ff5b7263ec15033ecc241b99e (diff) |
0.1.1 and asset cleanup
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_local.h | 5 | ||||
-rw-r--r-- | src/cgame/cg_predict.c | 2 |
2 files changed, 4 insertions, 3 deletions
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 ); |