diff options
author | Tim Angus <tim@ngus.net> | 2001-02-03 17:17:37 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-02-03 17:17:37 +0000 |
commit | 76c534a0ef5d3d7ce318757d4be4675a9c63e8ae (patch) | |
tree | a7a4450bd04b458bd80c7412b1574c79abc0fb5c /src/game/g_client.c | |
parent | cb5ec6e4ba71cc0150743ffaedfc449d8cc22878 (diff) |
Added a class database. Refined body spawning
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r-- | src/game/g_client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index 5e6c4c4e..5d6479c7 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -619,9 +619,8 @@ void CopyToBodyQue( gentity_t *ent ) { body->health = ent->health = ent->client->ps.stats[STAT_HEALTH]; ent->health = ent->client->ps.stats[STAT_HEALTH] = GIB_HEALTH - 1; - //FIXME: change body dimensions - VectorSet( body->r.mins, -15, -15, -15 ); - VectorSet( body->r.maxs, 15, 15, 15 ); + //change body dimensions + BG_FindBBoxForClass( ent->client->ps.stats[ STAT_PCLASS ], NULL, NULL, NULL, body->r.mins, body->r.maxs ); //drop to floor VectorSet( dest, origin[0], origin[1], origin[2] - 4096 ); |