Browse Source

engine: client: fix misplaced arguments in memcpy

pull/2/head
Alibek Omarov 3 years ago
parent
commit
a2d8a47376
  1. 2
      engine/client/cl_frame.c

2
engine/client/cl_frame.c

@ -219,7 +219,7 @@ void CL_UpdateLatchedVars( cl_entity_t *ent ) @@ -219,7 +219,7 @@ void CL_UpdateLatchedVars( cl_entity_t *ent )
if( ent->curstate.sequence != ent->prevstate.sequence )
{
memcpy( ent->prevstate.blending, ent->latched.prevseqblending, sizeof( ent->prevstate.blending ));
memcpy( ent->latched.prevseqblending, ent->prevstate.blending, sizeof( ent->prevstate.blending ));
ent->latched.prevsequence = ent->prevstate.sequence;
ent->latched.sequencetime = ent->curstate.animtime;
}

Loading…
Cancel
Save