From 7697052155d077fd9816aeb879951cc0895c9b02 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 11 Sep 2004 00:47:20 +0000 Subject: [PATCH] make CL_NextDemo put up menu if there's no demo to play (this makes startdemos command put up menu if there are no demos, better than staring at console) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4471 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_demo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cl_demo.c b/cl_demo.c index 2b7f060b..0750b423 100644 --- a/cl_demo.c +++ b/cl_demo.c @@ -56,6 +56,9 @@ void CL_NextDemo (void) { Con_Print("No demos listed with startdemos\n"); cls.demonum = -1; + // put up menu instead of staring at console + if (key_dest != key_menu) + M_ToggleMenu_f(); return; } } -- 2.39.2