From f5392aaef785aeaf7eb56b448c6deeb42fea00e2 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 31 Mar 2001 22:04:08 +0000 Subject: Added to and reorganised menus --- src/game/g_cmds.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'src/game/g_cmds.c') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 228a0af1..cf7af411 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1925,11 +1925,11 @@ void Cmd_Build_f( gentity_t *ent ) break; case IBE_NOCREEP: - G_AddPredictableEvent( ent, EV_MENU, MN_NOCREEP ); + G_AddPredictableEvent( ent, EV_MENU, MN_D_NOCREEP ); break; case IBE_NOROOM: - G_AddPredictableEvent( ent, EV_MENU, MN_DNOROOM ); + G_AddPredictableEvent( ent, EV_MENU, MN_D_NOROOM ); break; } } @@ -1951,15 +1951,29 @@ void Cmd_Build_f( gentity_t *ent ) break; case IBE_REACTOR: - G_AddPredictableEvent( ent, EV_MENU, MN_REACTOR ); + G_AddPredictableEvent( ent, EV_MENU, MN_H_REACTOR ); + break; + + case IBE_REPEATER: + G_AddPredictableEvent( ent, EV_MENU, MN_H_REPEATER ); break; case IBE_NOROOM: - G_AddPredictableEvent( ent, EV_MENU, MN_HNOROOM ); + G_AddPredictableEvent( ent, EV_MENU, MN_H_NOROOM ); break; case IBE_NOPOWER: - G_AddPredictableEvent( ent, EV_MENU, MN_HNOPOWER ); + G_AddPredictableEvent( ent, EV_MENU, MN_H_NOPOWER ); + break; + + case IBE_RPLWARN: + G_AddPredictableEvent( ent, EV_MENU, MN_H_RPLWARN ); + Build_Item( ent, buildable, 80 ); + break; + + case IBE_RPTWARN: + G_AddPredictableEvent( ent, EV_MENU, MN_H_RPTWARN ); + Build_Item( ent, buildable, 80 ); break; } } -- cgit