summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-03-23 04:17:29 +0000
committerTim Angus <tim@ngus.net>2003-03-23 04:17:29 +0000
commit6e71d986e00470bcff1e5aba64339fac592b9669 (patch)
tree8489a84741268d43b49b9e5c696a33dbb5925dee /src/game/g_client.c
parent62a23c3088d9766003a2df61c374b8e7af5a7fdb (diff)
* Serverside menu triggering now uses server commands for increased reliability
* Finished code support for new armoury menu
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 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