diff options
Diffstat (limited to 'src/cgame/cg_servercmds.c')
-rw-r--r-- | src/cgame/cg_servercmds.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index f6cef10f..5ad80f98 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -565,6 +565,12 @@ void CG_Menu( int menu ) trap_SendConsoleCommand( "menu tremulous_human_dialog\n" ); break; + case MN_H_NORMAL: + trap_Cvar_Set( "ui_dialog", "Cannot build on this surface. The surface is too steep or unsuitable " + "to build on. Please choose another site for this structure." ); + trap_SendConsoleCommand( "menu tremulous_alien_dialog\n" ); + break; + case MN_H_REACTOR: trap_Cvar_Set( "ui_dialog", "There can only be one reactor. Destroy the existing one if you " "wish to move it." ); @@ -613,6 +619,10 @@ void CG_Menu( int menu ) trap_SendConsoleCommand( "menu tremulous_human_dialog\n" ); break; + + //=============================== + + case MN_A_NOROOM: trap_Cvar_Set( "ui_dialog", "There is no room to build here. Move until the structure turns " "translucent green indicating a valid build location." ); |