From 09bc6d4f588152837bf88f98119cb8ce4c1e37dc Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sun, 4 Apr 2010 16:38:20 +0000 Subject: * Print a warning when a menu file is not found * Remove references to menu files that no longer exist --- src/ui/ui_main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui') 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 ) { -- cgit