Remove file prompting and drop all the remaining utility communication plumbing.

This commit is contained in:
Paul Chote
2011-07-23 00:49:18 +12:00
parent 9ec229bef7
commit bf6be0424f
11 changed files with 15 additions and 122 deletions

View File

@@ -13,8 +13,11 @@ int main(int argc, char *argv[])
{
/* When launching a mod, the arguments are of the form
* --launch <game dir> <mono path> <utility path> <support dir option> <mod option> */
if (argc >= 6 && strcmp(argv[1], "--launch") == 0)
if (argc > 1 && strcmp(argv[1], "--launch") == 0)
{
if (argc < 5)
exit(1);
/* Change into the game dir */
chdir(argv[3]);
@@ -23,7 +26,6 @@ int main(int argc, char *argv[])
argv[4],
"--debug",
"OpenRA.Game.exe",
argv[5],
NULL
};