summaryrefslogtreecommitdiff
path: root/src/cgame/cg_servercmds.c
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 11:24:33 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:57 +0000
commitc5ad838c31a7d6f5970010fc06d4417bef68dab9 (patch)
tree9ef047096e43cdf69e4e801a0983c5f67ad5b943 /src/cgame/cg_servercmds.c
parent48ce47c288f195919487a5f8e38f9658704e727c (diff)
* oops, cg_disableWarningDialogs was eating the build/evolve menus, this should fix it
Diffstat (limited to 'src/cgame/cg_servercmds.c')
-rw-r--r--src/cgame/cg_servercmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index 6d6c9e7e..d875dcc1 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -807,7 +807,7 @@ void CG_Menu( int menu )
Com_Printf( "cgame: debug: no such menu %d\n", menu );
}
- if( cg_disableWarningDialogs.integer == 0 &&
+ if( cg_disableWarningDialogs.integer == 0 ||
!shortMsg )
{
// Player either wants dialog window or there's no short message