From ff14745db8689e06530d6aae44b58140389ae82c Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 13 Jul 2014 16:54:32 +0200 Subject: unset clientPersistant_t::humanItemSelection when leaving the spawn queue, for consistency (should be non-functional) --- src/game/g_active.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game') diff --git a/src/game/g_active.c b/src/game/g_active.c index 92366c48..d2abf65d 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -426,6 +426,7 @@ void SpectatorThink( gentity_t *ent, usercmd_t *ucmd ) else if( client->ps.stats[ STAT_TEAM ] == TEAM_HUMANS ) G_RemoveFromSpawnQueue( &level.humanSpawnQueue, client->ps.clientNum ); client->pers.classSelection = PCL_NONE; + client->pers.humanItemSelection = WP_NONE; client->ps.stats[ STAT_CLASS ] = PCL_NONE; client->ps.pm_flags &= ~PMF_QUEUED; queued = qfalse; -- cgit