From 1d408321cbcdc72826d3d0939b12410d6130c889 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 10 May 2009 19:00:22 +0000 Subject: Use the internal IWAD search for the setup multiplayer dialogs rather than the -findiwads command line hack. Subversion-branch: /branches/raven-branch Subversion-revision: 1516 --- src/setup/execute.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/setup/execute.c') diff --git a/src/setup/execute.c b/src/setup/execute.c index a43c3220..0b5faa65 100644 --- a/src/setup/execute.c +++ b/src/setup/execute.c @@ -252,26 +252,3 @@ txt_window_action_t *TestConfigAction(void) return test_action; } -// Invokes Doom to find which IWADs are installed. -// This is a cheap hack to avoid duplication of the complicated install -// path searching code inside Doom. - -int FindInstalledIWADs(void) -{ - execute_context_t *context; - int result; - - context = NewExecuteContext(); - AddCmdLineParameter(context, "-findiwads"); - result = ExecuteDoom(context); - - if (result < 0) - { - return 0; - } - else - { - return result; - } -} - -- cgit v1.2.3