summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-04-11 21:17:39 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-04-11 21:17:39 +0200
commit397f8c6f86aa68eeef6a94cc33473c0ffd69372d (patch)
tree75c44e5265f1d94607b9fd3e573b418ba3b2fc63 /src/game/g_client.c
parent22bfcab00937a147a91073796d71538dadbee491 (diff)
Revert the removal of stamina and sprinting.
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index bfb79b9..896a7fc 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1505,6 +1505,8 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
for( i = 0; i < MAX_CLIENTS; i++ )
ent->credits[ i ] = 0;
+ client->ps.stats[ STAT_STAMINA ] = STAMINA_MAX;
+
G_SetOrigin( ent, spawn_origin );
VectorCopy( spawn_origin, client->ps.origin );