summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
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;
}
}