summaryrefslogtreecommitdiff
path: root/src/cgame/cg_players.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r--src/cgame/cg_players.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c
index 037a71a2..60d76253 100644
--- a/src/cgame/cg_players.c
+++ b/src/cgame/cg_players.c
@@ -2196,6 +2196,7 @@ void CG_Corpse( centity_t *cent )
VectorCopy( origin, legs.lightingOrigin );
legs.shadowPlane = shadowPlane;
legs.renderfx = renderfx;
+ legs.origin[ 2 ] += BG_FindZOffsetForClass( es->clientNum );
VectorCopy( legs.origin, legs.oldorigin ); // don't positionally lerp at all
//rescale the model