From b28d5f6dbedd5b895eed4cc5b730581df3b2215d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 26 Jun 2015 01:29:00 +0200 Subject: Initial implementation of Wraith. --- src/game/g_client.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/g_client.c') 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; -- cgit