From 6e71d986e00470bcff1e5aba64339fac592b9669 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 23 Mar 2003 04:17:29 +0000 Subject: * Serverside menu triggering now uses server commands for increased reliability * Finished code support for new armoury menu --- src/game/g_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/g_client.c') diff --git a/src/game/g_client.c b/src/game/g_client.c index 65bc992c..a77cf96b 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_AddPredictableEvent( ent, EV_MENU, MN_A_CLASS ); + G_TriggerMenu( ent->client->ps.clientNum, MN_A_CLASS ); else if( teamLocal == PTE_HUMANS ) - G_AddPredictableEvent( ent, EV_MENU, MN_H_SPAWN ); + G_TriggerMenu( ent->client->ps.clientNum, MN_H_SPAWN ); } // increment the spawncount so the client will detect the respawn -- cgit