diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 16:54:32 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:10 +0100 |
commit | ff14745db8689e06530d6aae44b58140389ae82c (patch) | |
tree | c4360d8a4e496b84abcb341303ddbeda98c7cae5 /src/game | |
parent | 2a5738a0190b7867f4cadca226c2ccda11ee6953 (diff) |
unset clientPersistant_t::humanItemSelection when leaving the spawn queue, for consistency (should be non-functional)
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_active.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |