diff options
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r-- | src/cgame/cg_ents.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index e8d60f4d..fe755d4f 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -497,6 +497,9 @@ static void CG_Mover( centity_t *cent ) s1 = ¢->currentState; + if( !s1->modelindex ) + return; + // create the render entity memset( &ent, 0, sizeof( ent ) ); VectorCopy( cent->lerpOrigin, ent.origin ); |