The pipeline halted for some reason, so here's the smallest possible legitimate change to bump it back into action: Replacing commenting-out with #ifdefing.

This commit is contained in:
toaster 2018-09-23 16:13:58 +01:00
parent fa65cbb43e
commit 73116f2b60

View file

@ -4731,12 +4731,15 @@ static void M_HandleAddons(INT32 choice)
char *tempname = NULL; char *tempname = NULL;
if (dirmenu && dirmenu[dir_on[menudepthleft]]) 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 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 0 // much slower
/*if (!preparefilemenu(true)) if (!preparefilemenu(true))
{ {
UNEXIST; UNEXIST;
return; return;
}*/ }
#else // streamlined
searchfilemenu(tempname);
#endif
} }
switch (choice) switch (choice)