diff options
-rw-r--r-- | src/game/g_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index d2663bc..b6a3e0e 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -761,6 +761,8 @@ void SpawnCorpse( gentity_t *ent ) body->r.contents = CONTENTS_CORPSE; body->clipmask = MASK_DEADSOLID; body->s.clientNum = ent->client->ps.stats[ STAT_PCLASS ]; + if( body->s.clientNum == PCL_HUMAN && BG_InventoryContainsUpgrade( UP_BATTLESUIT, ent->client->ps.stats ) ) + body->s.clientNum = PCL_HUMAN_BSUIT; body->nonSegModel = ent->client->ps.persistant[ PERS_STATE ] & PS_NONSEGMODEL; if( ent->client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS ) |