summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-02-03 17:17:37 +0000
committerTim Angus <tim@ngus.net>2001-02-03 17:17:37 +0000
commit76c534a0ef5d3d7ce318757d4be4675a9c63e8ae (patch)
treea7a4450bd04b458bd80c7412b1574c79abc0fb5c /src/game/g_client.c
parentcb5ec6e4ba71cc0150743ffaedfc449d8cc22878 (diff)
Added a class database. Refined body spawning
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c5
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 );