diff options
author | Tim Angus <tim@ngus.net> | 2001-12-18 22:08:58 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-12-18 22:08:58 +0000 |
commit | 4ea86bf171392a3731425efa8630429d1711c9c6 (patch) | |
tree | f0253053bfd8454dcd99bc40d5e4b1bb2714b4ae | |
parent | 9e0d783f4c9419d1dbb0229518102391c5e8bf21 (diff) |
Fix for death on wall bug
-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 d662f415..bbb6c5fb 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1513,6 +1513,8 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn ) ent->client->ps.stats[ STAT_PTEAM ] = ent->client->pers.pteam; ent->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE; + ent->client->ps.stats[ STAT_STATE ] = 0; + VectorSet( ent->client->ps.grapplePoint, 0.0f, 0.0f, 1.0f ); // health will count down towards max_health ent->health = client->ps.stats[STAT_HEALTH] = client->ps.stats[STAT_MAX_HEALTH]; //* 1.25; |