diff options
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_event.c | 3 | ||||
-rw-r--r-- | src/cgame/cg_players.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index b9f4f714..ead2e602 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -860,6 +860,9 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) CG_SetParticleSystemCent( ps, cent ); CG_AttachParticleSystemToCent( ps ); } + + if( es->number == cg.clientNum ) + cg.spawnTime = cg.time; break; case EV_ALIEN_ACIDTUBE: 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 |