diff options
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r-- | src/cgame/cg_players.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index 30c16d9a..a5ce2a53 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -2189,11 +2189,13 @@ void CG_Corpse( centity_t *cent ) legs.oldframe = legs.frame = torso.oldframe = torso.frame = 0; else if( !ci->nonsegmented ) { + memset( ¢->pe.legs, 0, sizeof( lerpFrame_t ) ); CG_RunLerpFrame( ci, ¢->pe.legs, es->legsAnim, 1 ); legs.oldframe = cent->pe.legs.oldFrame; legs.frame = cent->pe.legs.frame; legs.backlerp = cent->pe.legs.backlerp; + memset( ¢->pe.torso, 0, sizeof( lerpFrame_t ) ); CG_RunLerpFrame( ci, ¢->pe.torso, es->torsoAnim, 1 ); torso.oldframe = cent->pe.torso.oldFrame; torso.frame = cent->pe.torso.frame; @@ -2201,6 +2203,7 @@ void CG_Corpse( centity_t *cent ) } else { + memset( ¢->pe.nonseg, 0, sizeof( lerpFrame_t ) ); CG_RunLerpFrame( ci, ¢->pe.nonseg, es->legsAnim, 1 ); legs.oldframe = cent->pe.nonseg.oldFrame; legs.frame = cent->pe.nonseg.frame; |