- if (red != NULL && blue != NULL)
- {
- fprintf(stderr, "ARGUMENT_ERROR - When using the --server switch, only supply ONE (1) player.\n");
- exit(EXIT_FAILURE);
- }
- }
- else if (red == NULL || blue == NULL) //Not enough players
- {
- if (client)
- fprintf(stderr, "ARGUMENT_ERROR - When using the --client switch, supply an IP for the Red player.\n");
- else
- fprintf(stderr, "ARGUMENT_ERROR - Did not recieve enough players (did you mean to use the -f switch?)\n");