summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-11-18 00:35:19 +0000
committerTim Angus <tim@ngus.net>2002-11-18 00:35:19 +0000
commit9dca3a7130216e8dc90f5a9e2d95153bbfecd7a4 (patch)
tree2baebdb086b4cb91167553c9da27dff6d5cac047 /src/game/g_client.c
parentb8db650b9abef5bc2a805fbb902f91a996bc31c0 (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.c4
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 );