From b8d33486818b2cfc7bfdf93469daf0be15be4fad Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 16 May 2017 08:13:22 +0100 Subject: [PATCH] Added -easy switch to allow mission to be started in Easy mode. --- src/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.c b/src/main.c index 739077e..6e40582 100644 --- a/src/main.c +++ b/src/main.c @@ -251,6 +251,11 @@ static void handleMissionArgs(int argc, char *argv[]) { showCredits = 1; } + + if (strcmp(argv[i], "-easy") == 0) + { + game.difficulty = DIFFICULTY_EASY; + } } if (showCredits)