summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index a77cf96b..472a1d5f 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1348,9 +1348,9 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn )
if( client->sess.sessionTeam == TEAM_SPECTATOR )
{
if( teamLocal == PTE_ALIENS )
- G_TriggerMenu( ent->client->ps.clientNum, MN_A_CLASS );
+ G_TriggerMenu( index, MN_A_CLASS );
else if( teamLocal == PTE_HUMANS )
- G_TriggerMenu( ent->client->ps.clientNum, MN_H_SPAWN );
+ G_TriggerMenu( index, MN_H_SPAWN );
}
// increment the spawncount so the client will detect the respawn