mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: cl_frame: fixed segfault in CL_UpdatePositions
This commit is contained in:
parent
691a305f8e
commit
09b7f22cee
@ -61,7 +61,7 @@ void CL_UpdatePositions( cl_entity_t *ent )
|
||||
VectorCopy( ent->curstate.origin, ph->origin );
|
||||
VectorCopy( ent->curstate.angles, ph->angles );
|
||||
|
||||
if( ent->model->type == mod_brush )
|
||||
if( ent->model && ent->model->type == mod_brush )
|
||||
ph->animtime = ent->curstate.animtime;
|
||||
else
|
||||
ph->animtime = cl.time;
|
||||
|
Loading…
x
Reference in New Issue
Block a user