summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-03-31 22:04:08 +0000
committerTim Angus <tim@ngus.net>2001-03-31 22:04:08 +0000
commitf5392aaef785aeaf7eb56b448c6deeb42fea00e2 (patch)
tree734a3171faf12bdb709cf9f3f88047c1ddbaaafb /src/game/g_cmds.c
parent370ae26d5bb2aa7c17588b3744ebc3ac01918df7 (diff)
Added to and reorganised menus
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c24
1 files changed, 19 insertions, 5 deletions
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;
}
}