diff options
author | Simon Howard | 2009-05-10 19:00:22 +0000 |
---|---|---|
committer | Simon Howard | 2009-05-10 19:00:22 +0000 |
commit | 1d408321cbcdc72826d3d0939b12410d6130c889 (patch) | |
tree | 48666bcf9dae9adaf19c3ad698a6a1ee9ce84cee /src/setup/execute.c | |
parent | 3c92c5807e2eacdf84932d385d5041dfb311a26c (diff) | |
download | chocolate-doom-1d408321cbcdc72826d3d0939b12410d6130c889.tar.gz chocolate-doom-1d408321cbcdc72826d3d0939b12410d6130c889.tar.bz2 chocolate-doom-1d408321cbcdc72826d3d0939b12410d6130c889.zip |
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
Diffstat (limited to 'src/setup/execute.c')
-rw-r--r-- | src/setup/execute.c | 23 |
1 files changed, 0 insertions, 23 deletions
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; - } -} - |