From 4ea86bf171392a3731425efa8630429d1711c9c6 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 18 Dec 2001 22:08:58 +0000 Subject: Fix for death on wall bug --- src/game/g_client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit