diff options
author | Tim Angus <tim@ngus.net> | 2002-11-18 00:35:19 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-11-18 00:35:19 +0000 |
commit | 9dca3a7130216e8dc90f5a9e2d95153bbfecd7a4 (patch) | |
tree | 2baebdb086b4cb91167553c9da27dff6d5cac047 /src/game/g_client.c | |
parent | b8db650b9abef5bc2a805fbb902f91a996bc31c0 (diff) |
* Tweakage of values
* Sorted out hud selection code
* Wall walk smoothes now performed in the correct order (d'oh)
* Fixed bug involving human credit
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r-- | src/game/g_client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index af242be3..0935c84a 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1405,6 +1405,10 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn ) // health will count down towards max_health ent->health = client->ps.stats[ STAT_HEALTH ] = client->ps.stats[ STAT_MAX_HEALTH ]; //* 1.25; + //clear the credits array + for( i = 0; i < MAX_CLIENTS; i++ ) + ent->credits[ i ] = 0; + G_SetOrigin( ent, spawn_origin ); VectorCopy( spawn_origin, client->ps.origin ); |