summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-26 01:29:00 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-26 01:29:00 +0200
commitb28d5f6dbedd5b895eed4cc5b730581df3b2215d (patch)
tree9bb750d3f30ff731ce2c60f6a845fff25f20b668 /src/game/g_client.c
parent6c7152aada204bfdfa6e39cdfea5e10440e0ed36 (diff)
Initial implementation of Wraith.
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 9c999de..ccf65e8 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1480,6 +1480,11 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
client->ps.ammo = maxAmmo;
client->ps.clips = maxClips;
+ if( weapon == WP_ALEVEL1 )
+ {
+ client->ps.stats[ STAT_MISC ] = LEVEL1_WARP_TIME;
+ }
+
// We just spawned, not changing weapons
client->ps.persistant[ PERS_NEWWEAPON ] = 0;