From 862c256e92e75b7229eb83c4dd628f79dd3f534d Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 23 Sep 2018 16:13:58 +0100 Subject: [PATCH] The pipeline halted for some reason, so here's the smallest possible legitimate change to bump it back into action: Replacing commenting-out with `#ifdef`ing. --- src/m_menu.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/m_menu.c b/src/m_menu.c index 6199ecf35..5d0448ce0 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -4731,12 +4731,15 @@ static void M_HandleAddons(INT32 choice) char *tempname = NULL; if (dirmenu && dirmenu[dir_on[menudepthleft]]) tempname = Z_StrDup(dirmenu[dir_on[menudepthleft]]+DIR_STRING); // don't need to I_Error if can't make - not important, just QoL - searchfilemenu(tempname); - /*if (!preparefilemenu(true)) +#if 0 // much slower + if (!preparefilemenu(true)) { UNEXIST; return; - }*/ + } +#else // streamlined + searchfilemenu(tempname); +#endif } switch (choice)