From a532819655cf95b3fd1ce8e9fd1b4c5f72087006 Mon Sep 17 00:00:00 2001
From: Spoike <acceptthis@users.sourceforge.net>
Date: Fri, 27 Aug 2021 04:29:43 +0000
Subject: [PATCH] Stub menu_credits so its slightly less weird when the game
 seems to crash to console upon completion.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6046 fc73d0e0-1445-4013-8a0c-d673dee63da5
---
 engine/client/menu.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/engine/client/menu.c b/engine/client/menu.c
index 79a02ef68..9557d88a7 100644
--- a/engine/client/menu.c
+++ b/engine/client/menu.c
@@ -1271,6 +1271,13 @@ void M_Menu_Quit_f (void)
 	}
 }
 
+#ifdef HAVE_LEGACY
+void M_Menu_Credits_f (void)
+{
+	Menu_Prompt (NULL, NULL, "That's all folks!\nTry a different mod now.", NULL, NULL, "Sure!");
+}
+#endif
+
 //=============================================================================
 /* Menu Subsystem */
 
@@ -1353,6 +1360,10 @@ void M_Init_Internal (void)
 	Cmd_AddCommand ("menu_particles", M_Menu_Particles_f);
 	Cmd_AddCommand ("menu_network", M_Menu_Network_f);
 
+#ifdef HAVE_LEGACY
+	Cmd_AddCommand ("menu_credits", M_Menu_Credits_f);
+#endif
+
 #ifdef CL_MASTER
 	Cmd_AddCommand ("quickconnect", M_QuickConnect_f);
 #endif