summaryrefslogtreecommitdiff
path: root/src/ui/ui_main.c
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2010-04-04 16:38:20 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:34 +0000
commit09bc6d4f588152837bf88f98119cb8ce4c1e37dc (patch)
tree626d1fdba2e732296ac9c77ddf306c9fb4319b36 /src/ui/ui_main.c
parent857f16b0367c2dcc3435cc48c1117bd2a27462c5 (diff)
* Print a warning when a menu file is not found
* Remove references to menu files that no longer exist
Diffstat (limited to 'src/ui/ui_main.c')
-rw-r--r--src/ui/ui_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index 22b35637..d29fe4d5 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -1386,7 +1386,11 @@ void UI_ParseMenu( const char *menuFile )
handle = trap_Parse_LoadSource( menuFile );
if( !handle )
+ {
+ Com_Printf( S_COLOR_YELLOW "WARNING: Menu file %s not found\n",
+ menuFile );
return;
+ }
while( 1 )
{