summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index f6394d41..f2f83d63 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -649,12 +649,6 @@ void SpawnCorpse( gentity_t *ent )
body->takedamage = qfalse;
- //make the make player entity disappear
- ent->takedamage = qfalse;
- ent->s.eType = ET_INVISIBLE;
- ent->r.contents = 0;
- ent->s.solid = 0;
- ent->r.s.solid = 0;
body->health = ent->health = ent->client->ps.stats[ STAT_HEALTH ];
ent->health = ent->client->ps.stats[ STAT_HEALTH ] = GIB_HEALTH - 1;